Remove the deprecated WAngle.Range accessor for Lua
This commit is contained in:
@@ -143,7 +143,6 @@ namespace OpenRA
|
||||
switch (key.ToString())
|
||||
{
|
||||
case "Length": return Length;
|
||||
case "Range": TextNotificationsManager.Debug("WDist.Range is deprecated. Use WDist.Length instead"); return Length;
|
||||
default: throw new LuaException($"WDist does not define a member '{key}'");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user