From 7d2c4973ffc5cff7ea1a7ab80c541e446c4042ef Mon Sep 17 00:00:00 2001 From: Lewin Kelly Date: Sat, 22 Apr 2023 12:37:03 +0100 Subject: [PATCH] Fix issues with loading RbxGui --- processed/46295863.lua | 2 +- yue/46295863.yue | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/processed/46295863.lua b/processed/46295863.lua index b7c0ada..2548a94 100644 --- a/processed/46295863.lua +++ b/processed/46295863.lua @@ -42,7 +42,7 @@ if script.Parent:FindFirstChild("ControlFrame") then else gui = script.Parent end -local RbxGui +local RbxGui = assert(LoadLibrary("RbxGui")) local syncVideoCaptureSetting local settingsButton, helpButton, settingsFrame, mouseLockLabel local updateCameraDropDownSelection diff --git a/yue/46295863.yue b/yue/46295863.yue index 0b47e0c..79b8587 100644 --- a/yue/46295863.yue +++ b/yue/46295863.yue @@ -39,7 +39,7 @@ gui = if script.Parent\FindFirstChild "ControlFrame" else script.Parent -local RbxGui +RbxGui = assert LoadLibrary "RbxGui" local syncVideoCaptureSetting local settingsButton, helpButton, settingsFrame, mouseLockLabel local updateCameraDropDownSelection @@ -1340,7 +1340,6 @@ createGameSettingsMenu = (baseZIndex, _) -> if LoadLibrary - RbxGui = LoadLibrary "RbxGui" baseZIndex = 0 if UserSettings createSettingsDialog = ->