Rename function

This commit is contained in:
Christian Semmler 2024-06-10 11:58:22 -04:00
parent 71a78f01bd
commit f85f5b0c9b

View File

@ -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) {