Pause and resume on web version of player

You need to add another event here:

Check for SDL_WINDOWEVENT_FOCUS_GAINED instead of the “not-Emscripten” part.

2 Likes