mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Add cvar to limit nearby command range (#5282)
* Add cvar to limit nearby command range * Release notes * More comment * Fix release note * Update Robust.Shared/CVars.cs
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using Lidgren.Network;
|
||||
using Robust.Shared.Audio;
|
||||
@@ -1759,5 +1758,16 @@ namespace Robust.Shared
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> LaunchContentBundle =
|
||||
CVarDef.Create("launch.content_bundle", false, CVar.CLIENTONLY);
|
||||
|
||||
/*
|
||||
* TOOLSHED
|
||||
*/
|
||||
|
||||
/// <summary>
|
||||
/// The max range that can be passed to the nearby toolshed command.
|
||||
/// Any higher value will cause an exception.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<int> ToolshedNearbyLimit =
|
||||
CVarDef.Create("toolshed.nearby_limit", 200, CVar.SERVER | CVar.REPLICATED);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user