- fixed launcher not resetting the "checking for updates" text if it fails to parse the updateinfo xml file

- fixed crashing if switching from wiring mode to character mode
- option to disable crew ai through the console
This commit is contained in:
Regalis
2016-03-16 17:35:11 +02:00
parent 6f312281bf
commit 804510b144
4 changed files with 38 additions and 5 deletions

View File

@@ -218,6 +218,12 @@ namespace Barotrauma
if (spawnedCharacter != null && GameMain.Server != null) GameMain.Server.SendCharacterSpawnMessage(spawnedCharacter);
break;
case "disablecrewai":
HumanAIController.DisableCrewAI = !HumanAIController.DisableCrewAI;
break;
case "enablecrewai":
HumanAIController.DisableCrewAI = false;
break;
case "kick":
if (GameMain.Server == null) break;