summaryrefslogtreecommitdiff
path: root/src/entities/food
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-06-04 05:17:12 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-06-04 05:17:12 -0600
commite6beb7d4d3450c68ca5ebfae040f42dd82db1b31 (patch)
treeba8fae52c6f60c09f4aab2958231969ea571a7e3 /src/entities/food
parentfa98822a569c1efa2bebc705073c3921b9ae4217 (diff)
add text for points when eating food
Diffstat (limited to 'src/entities/food')
-rw-r--r--src/entities/food/scripts/food.gd1
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: