fix ComPlicit locking

This commit is contained in:
floralrainfall 2023-07-21 03:08:57 -04:00
parent cecc773be7
commit afdbfe2b02
2 changed files with 3 additions and 3 deletions

2
Dependencies/Luau vendored

@ -1 +1 @@
Subproject commit 218159140c7d79ae745e646da721d12331f536f5
Subproject commit e25de95445f2d635a125ab463426bb7fda017093

View File

@ -166,10 +166,10 @@ namespace RNR
if(m_runService && m_runService->getRunning() && !m_runService->getPaused())
{
m_runService->step(timestep);
physicsIterateLock.lock();
m_dynamicsWorld->stepSimulation(timestep, 2);
physicsIterateLock.unlock();
physicsIterateLock.lock();
m_ngine->updateTree();
physicsIterateLock.unlock();
}
return 0.0;
}