mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 10:59:12 +00:00
Change: Zero out the gameloop timers when the game is paused
This commit is contained in:
@@ -274,6 +274,7 @@ void PerformanceMeasurer::SetExpectedRate(double rate)
|
||||
*/
|
||||
/* static */ void PerformanceMeasurer::Paused(PerformanceElement elem)
|
||||
{
|
||||
PerformanceMeasurer::SetInactive(elem);
|
||||
_pf_data[elem].AddPause(GetPerformanceTimer());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user