Skip to content

Commit

Permalink
Fix songs not being removed from ActivePulseSpells when switching w…
Browse files Browse the repository at this point in the history
…eapon

Caused by 37d86bd. Don't remember why I changed the called method, probably an unintended change.
  • Loading branch information
bm01 committed Aug 19, 2024
1 parent 0232345 commit bcba5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GameServer/gameobjects/GamePlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5914,7 +5914,7 @@ public override void SwitchWeapon(eActiveWeaponSlot slot)
if (spell.InstrumentRequirement != 0)
{
Out.SendMessage(LanguageMgr.GetTranslation(Client.Account.Language, "GamePlayer.SwitchWeapon.SpellCancelled"), eChatType.CT_SpellResisted, eChatLoc.CL_SystemWindow);
EffectService.RequestImmediateCancelEffect(EffectListService.GetPulseEffectOnTarget(this, spell));
EffectService.RequestImmediateCancelConcEffect(EffectListService.GetPulseEffectOnTarget(this, spell));
}
}

Expand Down

0 comments on commit bcba5e6

Please sign in to comment.