Handle 'object' case as indexOf

639c0235f9530f62c20b9d8af65e0974f638b938

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -0Ignore whitespace
public/script.js+2 -0
@@ -6251,6 +6251,8 @@ export function setCharacterId(value) {
6251 this_chid = !isNaN(parseInt(value)) ? value : undefined;6251 this_chid = !isNaN(parseInt(value)) ? value : undefined;
6252 break;6252 break;
6253 case 'object':6253 case 'object':
6254 this_chid = characters.indexOf(value) !== -1 ? String(characters.indexOf(value)) : undefined;
6255 break;
6254 case 'undefined':6256 case 'undefined':
6255 this_chid = undefined;6257 this_chid = undefined;
6256 break;6258 break;