Require explicit INotifyAddedToWorld and INotifyRemovedFromWorld

This commit is contained in:
reaperrr
2017-09-27 23:50:30 +02:00
committed by abcdefg30
parent 8ec3d5ddb8
commit 8533debc44
17 changed files with 35 additions and 25 deletions

View File

@@ -322,7 +322,7 @@ namespace OpenRA.Mods.Common.Scripting
}
}
public void AddedToWorld(Actor self)
void INotifyAddedToWorld.AddedToWorld(Actor self)
{
if (world.Disposing)
return;
@@ -341,7 +341,7 @@ namespace OpenRA.Mods.Common.Scripting
}
}
public void RemovedFromWorld(Actor self)
void INotifyRemovedFromWorld.RemovedFromWorld(Actor self)
{
if (world.Disposing)
return;