z_index fix

This commit is contained in:
Melvin Weiß 2025-10-03 17:11:36 +02:00
parent be1e8a658f
commit c2104f2d24

View file

@ -33,6 +33,7 @@ func _on_timer_timeout() -> void:
for i in range(spawn_attempts):
var collumn = random_oppostite_collumn()
var building : Building = randomize_building()
building.z_index = -2
if grid.add_building_to_collumn(building, collumn):
break