summaryrefslogtreecommitdiff
path: root/src/entities/food
diff options
context:
space:
mode:
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: