Fixes and tweaks

This commit is contained in:
Wojtek Figat
2021-05-03 19:25:03 +02:00
parent 4e94c7c88c
commit c4c1655f76
2 changed files with 5 additions and 6 deletions

View File

@@ -638,9 +638,9 @@ void Physics::Simulate(float dt)
void Physics::CollectResults()
{
ASSERT(IsInMainThread());
if (!_isDuringSimulation)
return;
ASSERT(IsInMainThread());
ASSERT(CPhysX && Stepper);
{