Fix an infinite loop that occurs when a silo is captured

This commit is contained in:
Oliver Brakmann
2015-09-06 21:33:59 +02:00
parent 1e22762a16
commit caa0e1678e

View File

@@ -49,7 +49,6 @@ namespace OpenRA.Mods.Common.Traits
public void OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
{
playerResources = newOwner.PlayerActor.Trait<PlayerResources>();
OnOwnerChanged(self, oldOwner, newOwner);
}
}
}