Merge pull request #6575 from pchote/selfhealing

Add elite self-healing bonus
This commit is contained in:
reaperrr
2014-09-27 13:19:24 +02:00
12 changed files with 185 additions and 53 deletions

View File

@@ -204,9 +204,12 @@ namespace OpenRA
{
World.AddFrameEndTask(w =>
{
if (Destroyed) return;
if (Destroyed)
return;
if (IsInWorld)
World.Remove(this);
World.Remove(this);
World.traitDict.RemoveActor(this);
Destroyed = true;
});