diff options
Diffstat (limited to 'src/progs/manaplus/client.cpp')
-rw-r--r-- | src/progs/manaplus/client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index 772975214..cea2d10af 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -387,8 +387,9 @@ void Client::gameInit() logger->safeError(strprintf("Could not initialize SDL: %s", SDL_GetError())); } +#ifndef __SWITCH__ atexit(SDL_Quit); - +#endif PacketLimiter::initPacketLimiter(); #ifndef USE_SDL2 SDL_EnableUNICODE(1); |