diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-09 19:58:26 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-09 19:58:26 +0800 |
commit | 5db44566ab59077701ad6ba40116335294865618 (patch) | |
tree | fe6d394e905baa722c0a6cd6c021a68cc2d57755 /logger.js | |
parent | bff09540fe80bdf1e809312a4709261168adc381 (diff) | |
download | SoopyV2-5db44566ab59077701ad6ba40116335294865618.tar.gz SoopyV2-5db44566ab59077701ad6ba40116335294865618.tar.bz2 SoopyV2-5db44566ab59077701ad6ba40116335294865618.zip |
Reset globals correctly after gameunload
Diffstat (limited to 'logger.js')
-rw-r--r-- | logger.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -39,5 +39,8 @@ if(!global.soopyv2loggerthing){ devs.push(Player.getUUID().toString().replace(/-/g, "")) }).setName("pleasegivemeaccesstosoopyv2devconsolelogs") //yep + register("gameUnload", ()=>{ + global.soopyv2loggerthing = undefined + }) } export default global.soopyv2loggerthing
\ No newline at end of file |