Merge pull request #7269 from abcdefg30/general-polish
Some general polish
This commit is contained in:
@@ -150,8 +150,9 @@ namespace OpenRA.Traits
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
foreach (var a in currentActors)
|
||||
onActorExited(a);
|
||||
if (onActorExited != null)
|
||||
foreach (var a in currentActors)
|
||||
onActorExited(a);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user