Skip to content

Commit c505da3

Browse files
committed
Fixed #9339 (attachElements() 1-frame lag when "a lot" of elements are attached)
1 parent 39e1ceb commit c505da3

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

MTA10/mods/deathmatch/logic/CClientGame.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3904,6 +3904,7 @@ void CClientGame::PostWorldProcessHandler ( void )
39043904
{
39053905
m_pManager->GetMarkerManager ()->DoPulse ();
39063906
m_pManager->GetPointLightsManager ()->DoPulse ();
3907+
m_pManager->GetObjectManager()->DoPulse ();
39073908

39083909
// Update frame time slice
39093910
uint uiCurrentTick = GetTickCount32 ();

MTA10/mods/shared_logic/CClientManager.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ void CClientManager::DoPulse ( bool bDoStandardPulses, bool bDoVehicleManagerPul
208208
m_pPathManager->DoPulse ();
209209
m_pRadarMarkerManager->DoPulse ();
210210
m_pPedManager->DoPulse ( true );
211-
m_pObjectManager->DoPulse ();
212211
m_pProjectileManager->DoPulse ();
213212
m_pSoundManager->DoPulse ();
214213
m_pPlayerManager->DoPulse ();

0 commit comments

Comments
 (0)