mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
Enabled y sorting for terraman's world.
This commit is contained in:
parent
1b375d109d
commit
3cba2b5dae
@ -37,6 +37,8 @@ func _enter_tree():
|
||||
if !Engine.editor_hint && generate_on_ready:
|
||||
spawn(0, 0)
|
||||
|
||||
VisualServer.canvas_item_set_sort_children_by_y(get_canvas_item(), true)
|
||||
|
||||
func spawn(x, y):
|
||||
chunks_clear()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user