Fixed major oopsie
This commit is contained in:
parent
5e2ca5be83
commit
f790694373
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue