From f85f5b0c9b15bb153998e1f4cb0fdecdb314c1b8 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Mon, 10 Jun 2024 11:58:22 -0400 Subject: [PATCH] Rename function --- ISLE/isleapp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index 63a56bb8..c9507e58 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -316,11 +316,11 @@ int SDL_AppEvent(void* appstate, const SDL_Event* event) switch (event->type) { case SDL_EVENT_WINDOW_FOCUS_GAINED: g_isle->SetWindowActive(TRUE); - Lego()->StopTimer(); + Lego()->Resume(); break; case SDL_EVENT_WINDOW_FOCUS_LOST: g_isle->SetWindowActive(FALSE); - Lego()->StartTimer(); + Lego()->Pause(); break; case SDL_EVENT_WINDOW_CLOSE_REQUESTED: if (!g_closed) {