diff options
Diffstat (limited to '')
-rw-r--r-- | src/GlobalState.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GlobalState.cpp b/src/GlobalState.cpp index 2bd4943..e947e01 100644 --- a/src/GlobalState.cpp +++ b/src/GlobalState.cpp @@ -45,7 +45,7 @@ void InitEvents() { } catch (std::exception &e) { LOG(WARNING) << "Connection failed"; - PUSH_EVENT("ConnectionFailed", e.what()); + PUSH_EVENT("ConnectionFailed", std::string(e.what())); return; } LOG(INFO) << "Connected to server"; @@ -177,6 +177,7 @@ void PhysExec() { } void GsExec() { + el::Helpers::setThreadName("Game"); LoopExecutionTimeController timer(std::chrono::milliseconds(16)); while (isRunning) { |