The server can start the game
This commit is contained in:
@@ -637,20 +637,6 @@ namespace Barotrauma
|
||||
if (!(c.AIController is EnemyAIController)) continue;
|
||||
c.AddDamage(CauseOfDeath.Damage, 10000.0f, null);
|
||||
}
|
||||
break;
|
||||
case "sendrandomdata":
|
||||
int messageCount = 1;
|
||||
|
||||
if (commands.Length > 1) int.TryParse(commands[1], out messageCount);
|
||||
|
||||
for (int i = 0; i < messageCount; i++)
|
||||
{
|
||||
if (GameMain.Server != null)
|
||||
{
|
||||
GameMain.Server.SendRandomData();
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
case "netstats":
|
||||
if (GameMain.Server == null) return;
|
||||
|
||||
Reference in New Issue
Block a user