aboutsummaryrefslogtreecommitdiff
path: root/features/settings/helpDataLoader.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-08 20:03:11 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-08 20:03:11 +0800
commit46c2fd28691f3be2207445b44ff6d839ba9d17c6 (patch)
treeb3b8ca22654191617ff8bea569c9e94e121c88fd /features/settings/helpDataLoader.js
parent63e7b19f1c7d1447a2c09be258b3aef69cf00450 (diff)
downloadSoopyV2-46c2fd28691f3be2207445b44ff6d839ba9d17c6.tar.gz
SoopyV2-46c2fd28691f3be2207445b44ff6d839ba9d17c6.tar.bz2
SoopyV2-46c2fd28691f3be2207445b44ff6d839ba9d17c6.zip
changes
Diffstat (limited to 'features/settings/helpDataLoader.js')
-rw-r--r--features/settings/helpDataLoader.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/features/settings/helpDataLoader.js b/features/settings/helpDataLoader.js
index aadbd93..3a2e8f5 100644
--- a/features/settings/helpDataLoader.js
+++ b/features/settings/helpDataLoader.js
@@ -41,6 +41,10 @@ class HelpDataLoader {
if(!global.helpDataLoader){
global.helpDataLoader = new HelpDataLoader();
+
+ register("gameUnload", ()=>{
+ global.helpDataLoader = undefined
+ })
}
export default global.helpDataLoader; \ No newline at end of file