mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-20 10:23:11 +02:00
Removed unnecessary check.
This commit is contained in:
parent
64696b534b
commit
61a43daa45
@ -1723,9 +1723,7 @@ void TerrainWorld::_notification(int p_what) {
|
||||
Ref<TerrainChunk> chunk = _chunks_vector[i];
|
||||
|
||||
if (chunk.is_valid()) {
|
||||
if (chunk->get_voxel_world() == this) {
|
||||
chunk->exit_tree();
|
||||
}
|
||||
chunk->exit_tree();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user