Removing superfluous code.
This commit is contained in:
@@ -506,9 +506,6 @@ ServerGameStateInit::TimerAdminTimeout(const boost::system::error_code &ec, boos
|
|||||||
void
|
void
|
||||||
ServerGameStateInit::SendStartEvent(ServerGame &server, bool fillWithComputerPlayers)
|
ServerGameStateInit::SendStartEvent(ServerGame &server, bool fillWithComputerPlayers)
|
||||||
{
|
{
|
||||||
// Fill up with computer players.
|
|
||||||
server.ResetComputerPlayerList();
|
|
||||||
|
|
||||||
if (fillWithComputerPlayers)
|
if (fillWithComputerPlayers)
|
||||||
{
|
{
|
||||||
int remainingSlots = server.GetGameData().maxNumberOfPlayers - server.GetCurNumberOfPlayers();
|
int remainingSlots = server.GetGameData().maxNumberOfPlayers - server.GetCurNumberOfPlayers();
|
||||||
|
|||||||
Reference in New Issue
Block a user