Added some husk chems to the subs, attack key is included in the default config, fixed character and wiring modes crashing the game

This commit is contained in:
Regalis
2016-08-29 21:23:35 +03:00
parent 1dad116981
commit ca5ad3ece4
5 changed files with 2 additions and 3 deletions

View File

@@ -508,13 +508,12 @@ namespace Barotrauma
Properties = ObjectProperty.GetProperties(this);
Info = characterInfo;
if (file == humanConfigFile && characterInfo == null)
{
Info = new CharacterInfo(file);
}
Info = characterInfo;
XDocument doc = ToolBox.TryLoadXml(file);
if (doc == null || doc.Root == null) return;