mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-02-01 14:37:01 +01:00
Removed unneeded parameter.
This commit is contained in:
parent
45f5631763
commit
1c8b0cf5ed
@ -30,8 +30,6 @@ export(bool) var editor_generate : bool = false setget set_editor_generate, get_
|
|||||||
export(bool) var show_loading_screen : bool = true
|
export(bool) var show_loading_screen : bool = true
|
||||||
export(bool) var generate_on_ready : bool = false
|
export(bool) var generate_on_ready : bool = false
|
||||||
|
|
||||||
export(int) var spawn_height : int = 5
|
|
||||||
|
|
||||||
export(bool) var use_global_chunk_settings : bool = true
|
export(bool) var use_global_chunk_settings : bool = true
|
||||||
|
|
||||||
export(PropData) var test_prop : PropData
|
export(PropData) var test_prop : PropData
|
||||||
@ -146,7 +144,6 @@ func _process_game(delta) -> void:
|
|||||||
if l > chunk_spawn_range:
|
if l > chunk_spawn_range:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for y in range(-1 + cpos.y, spawn_height + cpos.y):
|
|
||||||
if not chunk_has(x, z):
|
if not chunk_has(x, z):
|
||||||
#print("spawn " + str(Vector2(x, z)))
|
#print("spawn " + str(Vector2(x, z)))
|
||||||
chunk_create(x, z)
|
chunk_create(x, z)
|
||||||
@ -206,7 +203,6 @@ func _process_editor(delta) -> void:
|
|||||||
if l > chunk_spawn_range:
|
if l > chunk_spawn_range:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for y in range(-1 + cpos.y, spawn_height + cpos.y):
|
|
||||||
if not chunk_has(x, z):
|
if not chunk_has(x, z):
|
||||||
#print("spawn " + str(Vector2(x, z)))
|
#print("spawn " + str(Vector2(x, z)))
|
||||||
chunk_create(x, z)
|
chunk_create(x, z)
|
||||||
|
Loading…
Reference in New Issue
Block a user