Added a method for changing a client's controlled character. Clients now get back control if their character is revived via the debug console.
+ It's possible to give clients control of monsters, which should add some new gameplay possibilitie. ;)
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Barotrauma
|
||||
{
|
||||
base.Update(cam, deltaTime);
|
||||
|
||||
if (!Enabled) return;
|
||||
if (!Enabled || IsRemotePlayer) return;
|
||||
|
||||
float dist = Vector2.DistanceSquared(cam.WorldViewCenter, WorldPosition);
|
||||
if (dist > 8000.0f * 8000.0f)
|
||||
|
||||
Reference in New Issue
Block a user