From f790694373d849d7ad0ec5ed9287b623105cf03b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melvin=20Wei=C3=9F?= Date: Fri, 3 Oct 2025 11:33:13 +0200 Subject: [PATCH] Fixed major oopsie --- buildings/building.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildings/building.gd b/buildings/building.gd index 0f5b019..d7321fe 100644 --- a/buildings/building.gd +++ b/buildings/building.gd @@ -25,7 +25,7 @@ func _ready() -> void: for enemy in enemies: var oldpos = enemy.position; - enemy.position = grid.get_world_position(oldpos) + enemy.position = grid.get_world_position(location, oldpos) if enemy is Platform or enemy is Trap or enemy is Item: objects.append(enemy) if "building" in enemy: enemy.building = self