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
gui = script.Parent
end
local RbxGui
local RbxGui = assert(LoadLibrary("RbxGui"))
local syncVideoCaptureSetting
local settingsButton, helpButton, settingsFrame, mouseLockLabel
local updateCameraDropDownSelection

View File

@ -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 = ->