diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-28 20:18:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-28 20:18:46 +0300 |
commit | 29099e5159ff042b1039ca2382c478b3f8016c1b (patch) | |
tree | dd105409b19f9bf83d6649e333e6638c88f85fe1 /src | |
parent | 76312eefd875932345628d11038dac75550d5efc (diff) | |
download | manaverse-29099e5159ff042b1039ca2382c478b3f8016c1b.tar.gz manaverse-29099e5159ff042b1039ca2382c478b3f8016c1b.tar.bz2 manaverse-29099e5159ff042b1039ca2382c478b3f8016c1b.tar.xz manaverse-29099e5159ff042b1039ca2382c478b3f8016c1b.zip |
Show disconnection error if disconnected from server.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/ea/network.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp index f83eab629..2a2bbd0a3 100644 --- a/src/net/ea/network.cpp +++ b/src/net/ea/network.cpp @@ -272,6 +272,7 @@ void Network::receive() // We got disconnected mState = IDLE; logger->log1("Disconnected."); + setError("Disconnected"); } else if (ret < 0) { |