From 12384042b212ab0c1371e368018658bb9c396e64 Mon Sep 17 00:00:00 2001 From: Jack Z Date: Sat, 17 Sep 2022 00:59:20 +0800 Subject: [PATCH] prevent douple activation to local player --- type_templates/vrm.js | 1 + 1 file changed, 1 insertion(+) diff --git a/type_templates/vrm.js b/type_templates/vrm.js index aec6c19..0e23996 100644 --- a/type_templates/vrm.js +++ b/type_templates/vrm.js @@ -89,6 +89,7 @@ export default e => { // handle wearing activateCb = async () => { + activateCb = null; const localPlayer = useLocalPlayer(); localPlayer.setAvatarApp(app); };