Using SetClientCharacter forces the client's line of sight effect back on

This commit is contained in:
Joonas Rikkonen
2017-07-27 18:03:18 +03:00
parent 061ed7392e
commit 3c04d2c479
@@ -168,6 +168,7 @@ namespace Barotrauma
controlled = this; controlled = this;
IsRemotePlayer = false; IsRemotePlayer = false;
GameMain.Client.Character = this; GameMain.Client.Character = this;
GameMain.LightManager.LosEnabled = true;
} }
else if (controlled == this) else if (controlled == this)
{ {