From 7efa7599053cc8da203286d2beaeac737b2325f1 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 3 Apr 2022 00:05:04 +0800 Subject: asd --- features/soopyGui/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/soopyGui/index.js') 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) -- cgit