Require explicit INotifyAddedToWorld and INotifyRemovedFromWorld
This commit is contained in:
@@ -114,7 +114,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
return !self.IsDisabled() && BuildComplete && blocking.AppearsFriendlyTo(self);
|
||||
}
|
||||
|
||||
public override void AddedToWorld(Actor self)
|
||||
protected override void AddedToWorld(Actor self)
|
||||
{
|
||||
base.AddedToWorld(self);
|
||||
blockedPositions = Info.Tiles(self.Location);
|
||||
|
||||
Reference in New Issue
Block a user