Fixing player counter - only count sessions which are established (after login). Send number of players in announce message. (Bug found through test case.)
This commit is contained in:
@@ -69,6 +69,7 @@ public:
|
||||
|
||||
void Clear();
|
||||
unsigned GetRawSessionCount();
|
||||
unsigned GetEstablishedSessionCount();
|
||||
|
||||
void SendToAllSessions(SenderHelper &sender, boost::shared_ptr<NetPacket> packet, SessionData::State state);
|
||||
void SendLobbyMsgToAllSessions(SenderHelper &sender, boost::shared_ptr<NetPacket> packet, SessionData::State state);
|
||||
|
||||
Reference in New Issue
Block a user