diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-06-04 05:17:12 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-06-04 05:17:12 -0600 |
commit | e6beb7d4d3450c68ca5ebfae040f42dd82db1b31 (patch) | |
tree | ba8fae52c6f60c09f4aab2958231969ea571a7e3 /src/entities/food | |
parent | fa98822a569c1efa2bebc705073c3921b9ae4217 (diff) |
add text for points when eating food
Diffstat (limited to 'src/entities/food')
-rw-r--r-- | src/entities/food/scripts/food.gd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/food/scripts/food.gd b/src/entities/food/scripts/food.gd index 2e00978..ca27acc 100644 --- a/src/entities/food/scripts/food.gd +++ b/src/entities/food/scripts/food.gd @@ -43,6 +43,7 @@ func set_property(property: String, value) -> void: func _set_properties() -> void: set_property("points", points) + set_property("global_position", global_position) func randomize_stats() -> void: |