mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Revert the despawn range.
This commit is contained in:
parent
8bf46093e7
commit
b4867ec012
@ -82,7 +82,7 @@ func _process(delta):
|
|||||||
|
|
||||||
var l : float = (Vector2(cpos.x, cpos.z) - Vector2(c.position_x, c.position_z)).length()
|
var l : float = (Vector2(cpos.x, cpos.z) - Vector2(c.position_x, c.position_z)).length()
|
||||||
|
|
||||||
if l > chunk_spawn_range + 3:
|
if l > chunk_spawn_range + 2:
|
||||||
# print("despawn " + str(Vector3(c.position_x, c.position_y, c.position_z)))
|
# print("despawn " + str(Vector3(c.position_x, c.position_y, c.position_z)))
|
||||||
remove_chunk_index(i)
|
remove_chunk_index(i)
|
||||||
i -= 1
|
i -= 1
|
||||||
|
Loading…
Reference in New Issue
Block a user