Actor.traits is implementation detail
This commit is contained in:
@@ -23,7 +23,7 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
self.World.WorldRenderer.DrawRangeCircle(
|
||||
Color.FromArgb(128, Color.Yellow),
|
||||
self.CenterLocation, (int)self.traits.Get<AttackBase>().GetMaximumRange());
|
||||
self.CenterLocation, (int)self.Trait<AttackBase>().GetMaximumRange());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user