Remove beacons when the badgers get shot down
This commit is contained in:
@@ -106,6 +106,15 @@ namespace OpenRA.Mods.RA
|
|||||||
}
|
}
|
||||||
|
|
||||||
camera = null;
|
camera = null;
|
||||||
|
|
||||||
|
if (beacon != null)
|
||||||
|
{
|
||||||
|
self.World.AddFrameEndTask(w =>
|
||||||
|
{
|
||||||
|
w.Remove(beacon);
|
||||||
|
beacon = null;
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -115,6 +115,15 @@ namespace OpenRA.Mods.RA
|
|||||||
}
|
}
|
||||||
|
|
||||||
camera = null;
|
camera = null;
|
||||||
|
|
||||||
|
if (beacon != null)
|
||||||
|
{
|
||||||
|
self.World.AddFrameEndTask(w =>
|
||||||
|
{
|
||||||
|
w.Remove(beacon);
|
||||||
|
beacon = null;
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user