fixed bug

This commit is contained in:
Chiss 2014-12-23 23:18:29 +11:00
parent f4c5922b05
commit 78977788a1

View File

@ -171,6 +171,9 @@ public class GameHostManager implements Listener
if (Manager.GetGame() != null && Manager.GetGame().GetState() != GameState.Recruit)
return;
if (_hostExpired)
return;
if (UtilTime.elapsed(_lastOnline, _expireTime))
setHostExpired(true, Manager.GetServerConfig().HostName + " has abandoned the server. Thanks for playing!");