mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 00:05:34 +00:00
set locale (do this in the launcher, too, please!)
This commit is contained in:
parent
aadcd1abe5
commit
df3269756c
@ -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; });
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user