aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-07 16:10:49 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-07 16:10:49 +0800
commite8ea272a5b587cb0458fc25c104eede6c03c150e (patch)
tree18b1751024d5d8d833b7d9a2efc50a9facd6ba94 /features
parent201237a0eaaefd6576b7a305897bf12b4add0f1a (diff)
downloadSoopyV2-e8ea272a5b587cb0458fc25c104eede6c03c150e.tar.gz
SoopyV2-e8ea272a5b587cb0458fc25c104eede6c03c150e.tar.bz2
SoopyV2-e8ea272a5b587cb0458fc25c104eede6c03c150e.zip
get ready for full release
Diffstat (limited to 'features')
-rw-r--r--features/globalSettings/index.js14
1 files changed, 9 insertions, 5 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index 6f158ec..a4c0e53 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -33,7 +33,7 @@ class Hud extends Feature {
this.findApiKey = new ButtonSetting("Attempt to load api key from other mods", "This will scan other mods configs to attempt to find your key", "find_key", this, "Click!", this.findKey, undefined)
- this.notifyNewVersion = new ToggleSetting("Notify when there is a new update", "Will notify you when there is a new version of soopyv2 avalible for download", true, "notify_update", this) //TODO: Make false by default when uploaded on ct website
+ this.notifyNewVersion = new ToggleSetting("Notify when there is a new update", "Will notify you when there is a new version of soopyv2 avalible for download", false, "notify_update", this)
this.reportErrorsSetting = new ToggleSetting("Send module errors to soopy server", "This will allow me to more effectivly fix them", false, "privacy_send_errors", this)
@@ -52,15 +52,19 @@ class Hud extends Feature {
this.ranFirstLoadThing = false
if(!this.firstLoadPageData.shown){
- while(!World || this.FeatureManager.finishedLoading){
- Thread.sleep(100)
- }
- this.showFirstLoadPage.call(this)
+ new Thread(()=>{
+ while(!World || !this.FeatureManager.finishedLoading){
+ Thread.sleep(100)
+ }
+ Thread.sleep(500)
+ this.showFirstLoadPage.call(this)
+ }).start()
}
}
showFirstLoadPage(){
if(!this.ranFirstLoadThing && World && !this.firstLoadPageData.shown){
+ ChatLib.chat(this.FeatureManager.messagePrefix + "Opening first load page, if you accidentally close it run /soopyv2 and click the button")
ChatLib.command("soopyv2 first_load_thing", true)
this.ranFirstLoadThing = true
this.firstLoadPageData.shown = true