Enabling characters when switching control to them (when switching to a disabled far-away monster for example)

This commit is contained in:
Regalis
2017-02-13 21:58:27 +02:00
parent 52bf73722f
commit bfc22c7b33
@@ -32,6 +32,11 @@ namespace Barotrauma
if (controlled == value) return;
controlled = value;
CharacterHUD.Reset();
if (controlled != null)
{
controlled.Enabled = true;
}
}
}