stop repairing a building if we don't like its owner (fixes interaction with capture)
This commit is contained in:
@@ -65,7 +65,7 @@ namespace OpenRA.Mods.RA.Buildings
|
|||||||
|
|
||||||
if (remainingTicks == 0)
|
if (remainingTicks == 0)
|
||||||
{
|
{
|
||||||
if (Repairer.WinState != WinState.Undefined)
|
if (Repairer.WinState != WinState.Undefined || Repairer.Stances[self.Owner] != Stance.Ally)
|
||||||
{
|
{
|
||||||
Repairer = null;
|
Repairer = null;
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user