summaryrefslogtreecommitdiffstats
path: root/src/GlobalState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GlobalState.cpp')
-rw-r--r--src/GlobalState.cpp3
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) {