From 64686b53ff743d1cc6d8b522abd066bca1420a59 Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Sun, 28 Feb 2021 21:28:21 +0000 Subject: Change: Zero out the gameloop timers when the game is paused --- src/framerate_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/framerate_gui.cpp b/src/framerate_gui.cpp index 9bd5a2e8e..9ac78dc68 100644 --- a/src/framerate_gui.cpp +++ b/src/framerate_gui.cpp @@ -274,6 +274,7 @@ void PerformanceMeasurer::SetExpectedRate(double rate) */ /* static */ void PerformanceMeasurer::Paused(PerformanceElement elem) { + PerformanceMeasurer::SetInactive(elem); _pf_data[elem].AddPause(GetPerformanceTimer()); } -- cgit v1.2.3-70-g09d2