update the shroud for the player setting diplomatic stances
fixes #2942
This commit is contained in:
@@ -213,6 +213,7 @@ namespace OpenRA.Network
|
|||||||
var oldStance = p.Stances[target];
|
var oldStance = p.Stances[target];
|
||||||
p.Stances[target] = s;
|
p.Stances[target] = s;
|
||||||
target.Shroud.UpdatePlayerStance(w, p, oldStance, s);
|
target.Shroud.UpdatePlayerStance(w, p, oldStance, s);
|
||||||
|
p.Shroud.UpdatePlayerStance(w, target, oldStance, s);
|
||||||
|
|
||||||
foreach (var nsc in w.ActorsWithTrait<INotifyStanceChanged>())
|
foreach (var nsc in w.ActorsWithTrait<INotifyStanceChanged>())
|
||||||
nsc.Trait.StanceChanged(nsc.Actor, p, target, oldStance, s);
|
nsc.Trait.StanceChanged(nsc.Actor, p, target, oldStance, s);
|
||||||
|
|||||||
Reference in New Issue
Block a user