omit needless lines

This commit is contained in:
bangonicdd
2025-02-04 09:24:14 +09:00
parent ad6f7e0be4
commit d679247874

View File

@@ -41,12 +41,7 @@ function nodeObserve(node:HTMLElement){
if(currentChar.type === 'group'){
return;
}
const triggerResult = await runLuaButtonTrigger(currentChar, btnEvent);
if(triggerResult){
setCurrentChat(triggerResult.chat);
}
await runLuaButtonTrigger(currentChar, btnEvent);
}, {
passive: true,
});