Fixes "joingame" command allowing players to join before round s… (#595)
This commit is contained in:
parent
6a1d2124df
commit
dea2be8321
|
|
@ -146,6 +146,12 @@ namespace Content.Server.GameTicking
|
|||
}
|
||||
|
||||
var ticker = IoCManager.Resolve<IGameTicker>();
|
||||
if (ticker.RunLevel == GameRunLevel.PreRoundLobby)
|
||||
{
|
||||
shell.SendText(player, "Round has not started.");
|
||||
return;
|
||||
}
|
||||
|
||||
ticker.MakeJoinGame(player);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue