Merge pull request #3128 from Mailaender/diplomacy-shroud

Fix Fragile Alliance button usability and Diplomacy Shroud problems
This commit is contained in:
Chris Forbes
2013-04-20 16:53:08 -07:00
2 changed files with 3 additions and 5 deletions

View File

@@ -213,6 +213,7 @@ namespace OpenRA.Network
var oldStance = p.Stances[target];
p.Stances[target] = s;
target.Shroud.UpdatePlayerStance(w, p, oldStance, s);
p.Shroud.UpdatePlayerStance(w, target, oldStance, s);
foreach (var nsc in w.ActorsWithTrait<INotifyStanceChanged>())
nsc.Trait.StanceChanged(nsc.Actor, p, target, oldStance, s);