z_index fix
This commit is contained in:
parent
be1e8a658f
commit
c2104f2d24
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue