From 29099e5159ff042b1039ca2382c478b3f8016c1b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 28 Jun 2013 20:18:08 +0300 Subject: Show disconnection error if disconnected from server. --- src/net/ea/network.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net') 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) { -- cgit v1.2.3-70-g09d2