Fixed bug where pausing then playing crashes physics
This commit is contained in:
parent
b328d1df82
commit
6b5b0387a9
|
@ -351,6 +351,9 @@ namespace SHADE
|
|||
////////////////////////////////
|
||||
|
||||
// Create physics world
|
||||
if (worldState.world != nullptr)
|
||||
return onPlayEvent->handle;
|
||||
|
||||
worldState.CreateWorld(factory);
|
||||
|
||||
// Link Collision Listener & Raycaster
|
||||
|
|
Loading…
Reference in New Issue