删除已经废弃的precharacter

This commit is contained in:
157 2024-05-08 22:19:42 +08:00
parent e5e78c8d0a
commit c43385c824
2 changed files with 2 additions and 7 deletions

View File

@ -2006,7 +2006,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
ui.create.characterDialog( ui.create.characterDialog(
"heightset", "heightset",
event.filterChoice, event.filterChoice,
"precharacter" "character"
); );
} }
} }

View File

@ -1242,7 +1242,6 @@ export class Create {
expandall, expandall,
onlypack, onlypack,
heightset, heightset,
precharacter,
characterx; characterx;
for (var i = 0; i < arguments.length; i++) { for (var i = 0; i < arguments.length; i++) {
if (arguments[i] === "thisiscard") { if (arguments[i] === "thisiscard") {
@ -1251,8 +1250,6 @@ export class Create {
expandall = true; expandall = true;
} else if (arguments[i] === "heightset") { } else if (arguments[i] === "heightset") {
heightset = true; heightset = true;
} else if (arguments[i] == "precharacter") {
precharacter = true;
} else if (arguments[i] == "characterx") { } else if (arguments[i] == "characterx") {
characterx = true; characterx = true;
} else if ( } else if (
@ -1982,9 +1979,7 @@ export class Create {
dialog.add([list, "vcard"], noclick); dialog.add([list, "vcard"], noclick);
} }
} else { } else {
if (precharacter) { if (characterx) {
dialog.add([list, "precharacter"], noclick);
} else if (characterx) {
dialog.add([list, "characterx"], noclick); dialog.add([list, "characterx"], noclick);
} else { } else {
dialog.add([list, "character"], noclick); dialog.add([list, "character"], noclick);