set locale (do this in the launcher, too, please!)

This commit is contained in:
Lion Kortlepel 2021-02-26 21:16:16 +01:00 committed by Anonymous275
parent aadcd1abe5
commit df3269756c

View File

@ -6,8 +6,8 @@
#include "TResourceManager.h"
#include "TServer.h"
#include "TUDPServer.h"
#include <thread>
#include <TTCPServer.h>
#include <thread>
#ifdef __unix
#include <csignal>
@ -42,6 +42,8 @@ int main(int argc, char** argv) {
#endif // DEBUG
#endif // __unix
setlocale(LC_ALL, "C");
bool Shutdown = false;
Application::RegisterShutdownHandler([&Shutdown] { Shutdown = true; });