File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Client/mods/deathmatch/logic Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -5456,11 +5456,6 @@ void CClientGame::ResetMapInfo()
54565456 // Players
54575457 m_pPlayerManager->ResetAll ();
54585458
5459- // Reset Frozen Time
5460- g_pGame->GetClock ()->ResetTimeFrozen ();
5461- g_pGame->GetSettings ()->ResetVolumetricShadows ();
5462- g_pGame->GetSettings ()->ResetDynamicPedShadows ();
5463-
54645459 // Disable the change of any player stats
54655460 g_pMultiplayer->SetLocalStatsStatic (true );
54665461
@@ -6888,6 +6883,12 @@ void CClientGame::ResetWorldProperties(const ResetWorldPropsInfo& resetPropsInfo
68886883
68896884 // Reset volumetric shadows
68906885 g_pGame->GetSettings ()->ResetVolumetricShadows ();
6886+
6887+ // Reset Frozen Time
6888+ g_pGame->GetClock ()->ResetTimeFrozen ();
6889+
6890+ // Reset DynamicPedShadows
6891+ g_pGame->GetSettings ()->ResetDynamicPedShadows ();
68916892}
68926893
68936894void CClientGame::OnWindowFocusChange (bool state)
You can’t perform that action at this time.
0 commit comments