aboutsummaryrefslogtreecommitdiff
path: root/features/soopyGui/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-03 00:05:04 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-03 00:05:04 +0800
commit7efa7599053cc8da203286d2beaeac737b2325f1 (patch)
tree70f50385e4cd6bc7749d611cfab241714663fbea /features/soopyGui/index.js
parent4411297dc00f5fa33864530756fbeeaf617bb2c7 (diff)
downloadSoopyV2-7efa7599053cc8da203286d2beaeac737b2325f1.tar.gz
SoopyV2-7efa7599053cc8da203286d2beaeac737b2325f1.tar.bz2
SoopyV2-7efa7599053cc8da203286d2beaeac737b2325f1.zip
asd
Diffstat (limited to 'features/soopyGui/index.js')
-rw-r--r--features/soopyGui/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/soopyGui/index.js b/features/soopyGui/index.js
index 0f223e1..6cb271c 100644
--- a/features/soopyGui/index.js
+++ b/features/soopyGui/index.js
@@ -186,7 +186,7 @@ class SoopyGui extends Feature {
this.backButton.location.location.y.set((pageNum === 0 || !this.currCategory.showBackButton)?-0.2:0, animate?500:0)
- this.currCategory.onOpenPage(pageNum)
+ if(this.currCategory) this.currCategory.onOpenPage(pageNum)
}
openSidebarPage(child){
this.sidebarPage.location.location.x.set(0.625, 500)