Make Range WDist for all traits with circular ranges.
This commit is contained in:
@@ -15,8 +15,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("This unit can be guarded (followed and protected) by a Guard unit.")]
|
||||
public class GuardableInfo : TraitInfo<Guardable>
|
||||
{
|
||||
[Desc("Maximum range that guarding actors will maintain. Measured in cells.")]
|
||||
public readonly int Range = 2;
|
||||
[Desc("Maximum range that guarding actors will maintain.")]
|
||||
public readonly WDist Range = WDist.FromCells(2);
|
||||
}
|
||||
|
||||
public class Guardable { }
|
||||
|
||||
Reference in New Issue
Block a user