fix(ags): fix box already destroyed issue

This commit is contained in:
matt1432 2023-09-21 23:54:31 -04:00
parent 91de0cf5b5
commit f2bdcffe3f

View file

@ -116,7 +116,7 @@ export const Draggable = ({
}
setTimeout(() => {
command();
box.get_parent().destroy();
box.destroy();
}, 1000);
}
else {