summaryrefslogtreecommitdiff
path: root/src/gui/whoisonline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-16 18:44:23 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-16 18:44:23 +0300
commit2cefbbdce67c51e0728f46ef9086a565c0d187cc (patch)
tree9a1231f34dcd963a6e5aadfd5f0023af611b0b93 /src/gui/whoisonline.cpp
parent7852b453367e7cbfd82f4262a46505152759ddce (diff)
downloadmv-2cefbbdce67c51e0728f46ef9086a565c0d187cc.tar.gz
mv-2cefbbdce67c51e0728f46ef9086a565c0d187cc.tar.bz2
mv-2cefbbdce67c51e0728f46ef9086a565c0d187cc.tar.xz
mv-2cefbbdce67c51e0728f46ef9086a565c0d187cc.zip
Fix players online status in chat in evol server.
Diffstat (limited to 'src/gui/whoisonline.cpp')
-rw-r--r--src/gui/whoisonline.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp
index 6004f706e..65bd1fcb5 100644
--- a/src/gui/whoisonline.cpp
+++ b/src/gui/whoisonline.cpp
@@ -288,6 +288,8 @@ void WhoIsOnline::loadList(std::vector<std::string> &list)
}
updateWindow(friends, neutral, disregard, enemy, numOnline);
+ if (!mOnlinePlayers.empty() && chatWindow)
+ chatWindow->updateOnline(mOnlinePlayers);
}
void WhoIsOnline::loadWebList()