Fix mime broken vow alert (#33303)

Swap VowAlert and VowBrokenAlert on lines 149 and 150 so that the proper alerts are cleared and shown
This commit is contained in:
CheddaCheez 2024-11-14 10:56:21 -06:00 committed by GitHub
parent 75ec546550
commit 815e37e512
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,8 +146,8 @@ namespace Content.Server.Abilities.Mime
mimePowers.ReadyToRepent = false;
mimePowers.VowBroken = false;
AddComp<MutedComponent>(uid);
_alertsSystem.ClearAlert(uid, mimePowers.VowAlert);
_alertsSystem.ShowAlert(uid, mimePowers.VowBrokenAlert);
_alertsSystem.ClearAlert(uid, mimePowers.VowBrokenAlert);
_alertsSystem.ShowAlert(uid, mimePowers.VowAlert);
_actionsSystem.AddAction(uid, ref mimePowers.InvisibleWallActionEntity, mimePowers.InvisibleWallAction, uid);
}
}