diff --git a/noname/library/element/content.js b/noname/library/element/content.js index 36ab6cfba..42c90d99e 100644 --- a/noname/library/element/content.js +++ b/noname/library/element/content.js @@ -3682,9 +3682,7 @@ export const Content = { info.chooseControl ? result : result.links, player ); - if (!lib.skill[event.buttoned + "_backup"].sourceSkill) { - lib.skill[event.buttoned + "_backup"].sourceSkill = event.buttoned; - } + lib.skill[event.buttoned + "_backup"].sourceSkill = event.buttoned; if (game.online) { event._sendskill = [event.buttoned + "_backup", lib.skill[event.buttoned + "_backup"]]; } else { @@ -3896,9 +3894,7 @@ export const Content = { info.chooseControl ? result : result.links, player ); - if (!lib.skill[event.buttoned + "_backup"].sourceSkill) { - lib.skill[event.buttoned + "_backup"].sourceSkill = event.buttoned; - } + lib.skill[event.buttoned + "_backup"].sourceSkill = event.buttoned; if (game.online) { event._sendskill = [event.buttoned + "_backup", lib.skill[event.buttoned + "_backup"]]; } else {