Fix issues with loading RbxGui

This commit is contained in:
Lewin Kelly 2023-04-22 12:37:03 +01:00
parent 6582ae3552
commit 7d2c4973ff
2 changed files with 2 additions and 3 deletions

View File

@ -42,7 +42,7 @@ if script.Parent:FindFirstChild("ControlFrame") then
else else
gui = script.Parent gui = script.Parent
end end
local RbxGui local RbxGui = assert(LoadLibrary("RbxGui"))
local syncVideoCaptureSetting local syncVideoCaptureSetting
local settingsButton, helpButton, settingsFrame, mouseLockLabel local settingsButton, helpButton, settingsFrame, mouseLockLabel
local updateCameraDropDownSelection local updateCameraDropDownSelection

View File

@ -39,7 +39,7 @@ gui = if script.Parent\FindFirstChild "ControlFrame"
else else
script.Parent script.Parent
local RbxGui RbxGui = assert LoadLibrary "RbxGui"
local syncVideoCaptureSetting local syncVideoCaptureSetting
local settingsButton, helpButton, settingsFrame, mouseLockLabel local settingsButton, helpButton, settingsFrame, mouseLockLabel
local updateCameraDropDownSelection local updateCameraDropDownSelection
@ -1340,7 +1340,6 @@ createGameSettingsMenu = (baseZIndex, _) ->
if LoadLibrary if LoadLibrary
RbxGui = LoadLibrary "RbxGui"
baseZIndex = 0 baseZIndex = 0
if UserSettings if UserSettings
createSettingsDialog = -> createSettingsDialog = ->