Dedicated server can give clients the permission to use commands that only exist in the client project (los, lights, control, etc). Closes #476
This commit is contained in:
@@ -394,7 +394,7 @@ namespace Barotrauma
|
||||
NewMessage(GUI.DisableHUD ? "Disabled HUD" : "Enabled HUD", Color.White);
|
||||
}));
|
||||
|
||||
commands.Add(new Command("followsub", "followsub: Toggle whether the ", (string[] args) =>
|
||||
commands.Add(new Command("followsub", "followsub: Toggle whether the camera should follow the nearest submarine.", (string[] args) =>
|
||||
{
|
||||
Camera.FollowSub = !Camera.FollowSub;
|
||||
NewMessage(Camera.FollowSub ? "Set the camera to follow the closest submarine" : "Disabled submarine following.", Color.White);
|
||||
|
||||
Reference in New Issue
Block a user