Fixes "joingame" command allowing players to join before round s… (#595)

This commit is contained in:
ike709
2020-02-06 09:15:39 -06:00
committed by GitHub
parent 6a1d2124df
commit dea2be8321

View File

@@ -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);
}
}