mirror of
https://github.com/Relintai/voxelman.git
synced 2025-01-10 14:59:36 +01:00
Fix a multithreading related crash.
This commit is contained in:
parent
f26fe74fc4
commit
3969e0ba5f
@ -40,9 +40,9 @@ _FORCE_INLINE_ void VoxelChunkDefault::set_active_build_phase_type(const VoxelCh
|
||||
_active_build_phase_type = value;
|
||||
|
||||
if (_active_build_phase_type == VoxelChunkDefault::BUILD_PHASE_TYPE_PHYSICS_PROCESS) {
|
||||
set_physics_process_internal(true);
|
||||
call_deferred("set_physics_process_internal", true);
|
||||
} else {
|
||||
set_physics_process_internal(false);
|
||||
call_deferred("set_physics_process_internal", false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user