延续上个分支的bugfix
This commit is contained in:
parent
302cebabf3
commit
3b0c28f05b
|
@ -1472,7 +1472,7 @@ export class Game {
|
||||||
if (result) return result;
|
if (result) return result;
|
||||||
if (!name) return result;
|
if (!name) return result;
|
||||||
if (filter(name)) return name;
|
if (filter(name)) return name;
|
||||||
let tempname = (get.character(name).trashBin || []).find(tag => tag.startsWith("tempname:"));
|
let tempname = ((get.character(name) || {}).trashBin || []).find(tag => tag.startsWith("tempname:"));
|
||||||
if (!tempname) return result;
|
if (!tempname) return result;
|
||||||
tempname = tempname
|
tempname = tempname
|
||||||
.split(":")
|
.split(":")
|
||||||
|
|
Loading…
Reference in New Issue