Update content.js

This commit is contained in:
xizifu 2024-06-07 01:22:46 +08:00
parent 6ea676553a
commit 2a413daafc
1 changed files with 2 additions and 6 deletions

View File

@ -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 {