mirror of https://github.com/OpenTTD/OpenTTD
Change: Zero out the gameloop timers when the game is paused
parent
ef5cea0e06
commit
64686b53ff
|
@ -274,6 +274,7 @@ void PerformanceMeasurer::SetExpectedRate(double rate)
|
|||
*/
|
||||
/* static */ void PerformanceMeasurer::Paused(PerformanceElement elem)
|
||||
{
|
||||
PerformanceMeasurer::SetInactive(elem);
|
||||
_pf_data[elem].AddPause(GetPerformanceTimer());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue