差点儿忘了mode

This commit is contained in:
157 2024-04-29 09:23:44 +08:00
parent 6721d8d879
commit 6248f42533
1 changed files with 1 additions and 1 deletions

View File

@ -2460,7 +2460,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
if (lib.character[name][1] == "key") return 4;
};
game.data.character = game.data.character.filter(function (i) {
return Array.isArray(lib.character[i]);
return get.is.object(lib.character[i]);
});
game.data.character.sort(function (a, b) {
var del = groupSort(a) - groupSort(b);