aboutsummaryrefslogtreecommitdiff
path: root/features/settings/helpDataLoader.js
diff options
context:
space:
mode:
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