[fix] temp fix for ui freezing

This commit is contained in:
kwaroran
2023-05-10 06:38:04 +09:00
parent fe9e636474
commit 1836e00106
3 changed files with 8 additions and 28 deletions

View File

@@ -21,19 +21,17 @@
function createScratch(){
reseter();
const cid = createNewCharacter()
selectedCharID.set(cid)
selectedCharID.set(-1)
}
function createGroup(){
reseter();
const cid = createNewGroup()
selectedCharID.set(cid)
selectedCharID.set(-1)
}
async function createImport(){
reseter();
const cid = await importCharacter()
if(cid){
selectedCharID.set(cid)
}
selectedCharID.set(-1)
}
function changeChar(index:number){