aboutsummaryrefslogtreecommitdiff
path: root/featureClass
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-07 15:42:00 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-07 15:42:00 +0800
commita8a5a3f8c2c0c0897006a6a68cf4fb1eba2b9f9f (patch)
tree6029ccf80aa2bbdc712b88edc1a5dcb3b5bf3110 /featureClass
parentad10250efe29f45951e3b8483dbde002c0ea4b3d (diff)
downloadSoopyV2-a8a5a3f8c2c0c0897006a6a68cf4fb1eba2b9f9f.tar.gz
SoopyV2-a8a5a3f8c2c0c0897006a6a68cf4fb1eba2b9f9f.tar.bz2
SoopyV2-a8a5a3f8c2c0c0897006a6a68cf4fb1eba2b9f9f.zip
+ remove update button patcher module (removed soopyv2 from ct website)
+ updating will be same as updatebuttonpatcher used to be, but built into soopyv2 + new version avalible chat message + show other player's inquis waypoints
Diffstat (limited to 'featureClass')
-rw-r--r--featureClass/class.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/featureClass/class.js b/featureClass/class.js
index 04e9552..d595e4b 100644
--- a/featureClass/class.js
+++ b/featureClass/class.js
@@ -173,7 +173,8 @@ class Event {
}
update() {
- if (this.enabled === this.when()) return
+ let shouldBeEnabled = !!this.when()
+ if (this.enabled === shouldBeEnabled) return
if (this.enabled) {
this.unregister()