From ee04eecd490cdd3659a8dd19e8ca1bae7c0def68 Mon Sep 17 00:00:00 2001 From: juanjp600 Date: Fri, 1 Dec 2017 20:35:34 -0300 Subject: [PATCH] Fixed autorestart command being broken in dedicated server --- Barotrauma/BarotraumaServer/Source/DebugConsole.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Barotrauma/BarotraumaServer/Source/DebugConsole.cs b/Barotrauma/BarotraumaServer/Source/DebugConsole.cs index 3fe1a9e28..948deee36 100644 --- a/Barotrauma/BarotraumaServer/Source/DebugConsole.cs +++ b/Barotrauma/BarotraumaServer/Source/DebugConsole.cs @@ -146,15 +146,7 @@ namespace Barotrauma if (Screen.Selected == GameMain.NetLobbyScreen) return; GameMain.Server.EndGame(); })); - - commands.Add(new Command("autorestart", "autorestart: Toggle automatic round restarting on/off.", (string[] args) => - { - if (GameMain.Server == null) return; - - GameMain.Server.AutoRestart = !GameMain.Server.AutoRestart; - NewMessage(GameMain.Server.AutoRestart ? "Automatic restart enabled." : "Automatic restart disabled.", Color.White); - })); - + commands.Add(new Command("entitydata", "", (string[] args) => { if (args.Length == 0) return;