RenderBeforeWorld/RenderAfterWorld split. still need to sort out which behavior belongs where.
This commit is contained in:
@@ -14,9 +14,9 @@ using OpenRA.Traits;
|
||||
namespace OpenRA.Mods.RA
|
||||
{
|
||||
class RenderDetectionCircleInfo : TraitInfo<RenderDetectionCircle> { }
|
||||
class RenderDetectionCircle : IRenderSelection
|
||||
class RenderDetectionCircle : IPostRenderSelection
|
||||
{
|
||||
public void Render(Actor self)
|
||||
public void RenderAfterWorld(Actor self)
|
||||
{
|
||||
if (self.Owner != self.World.LocalPlayer)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user