fixed bug
This commit is contained in:
parent
f4c5922b05
commit
78977788a1
@ -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!");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user