diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-10-20 10:04:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-20 10:04:29 +0200 |
commit | b079abb0463e81978e189d2c0c6d2879f6bf9283 (patch) | |
tree | 31a921e8413ff4e944cacf4ab096c9a6d81e390e /src/GlobalState.cpp | |
parent | Update README.md (diff) | |
parent | #11 Single field for ip and port (diff) | |
download | AltCraft-b079abb0463e81978e189d2c0c6d2879f6bf9283.tar AltCraft-b079abb0463e81978e189d2c0c6d2879f6bf9283.tar.gz AltCraft-b079abb0463e81978e189d2c0c6d2879f6bf9283.tar.bz2 AltCraft-b079abb0463e81978e189d2c0c6d2879f6bf9283.tar.lz AltCraft-b079abb0463e81978e189d2c0c6d2879f6bf9283.tar.xz AltCraft-b079abb0463e81978e189d2c0c6d2879f6bf9283.tar.zst AltCraft-b079abb0463e81978e189d2c0c6d2879f6bf9283.zip |
Diffstat (limited to '')
-rw-r--r-- | src/GlobalState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GlobalState.cpp b/src/GlobalState.cpp index 8d75bac..9675d4b 100644 --- a/src/GlobalState.cpp +++ b/src/GlobalState.cpp @@ -36,7 +36,7 @@ void InitEvents() { LOG(ERROR) << "Already connected"; return; } - LOG(INFO) << "Connecting to server"; + LOG(INFO) << "Connecting to server at address " + std::get<0>(data) + ":" + std::to_string(std::get<1>(data)) + " as " + std::get<2>(data); PUSH_EVENT("Connecting",0); gs = std::make_unique<GameState>(); isPhysRunning = true; @@ -228,4 +228,4 @@ void GlobalState::SetState(const State &newState) { if (newState != state) PUSH_EVENT("StateUpdated", 0); state = newState; -}
\ No newline at end of file +} |