diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-04-08 20:03:11 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-04-08 20:03:11 +0800 |
commit | 46c2fd28691f3be2207445b44ff6d839ba9d17c6 (patch) | |
tree | b3b8ca22654191617ff8bea569c9e94e121c88fd /features/settings/helpDataLoader.js | |
parent | 63e7b19f1c7d1447a2c09be258b3aef69cf00450 (diff) | |
download | SoopyV2-46c2fd28691f3be2207445b44ff6d839ba9d17c6.tar.gz SoopyV2-46c2fd28691f3be2207445b44ff6d839ba9d17c6.tar.bz2 SoopyV2-46c2fd28691f3be2207445b44ff6d839ba9d17c6.zip |
changes
Diffstat (limited to 'features/settings/helpDataLoader.js')
-rw-r--r-- | features/settings/helpDataLoader.js | 4 |
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 |