Attempt to fix loading RbxGui again

This commit is contained in:
Lewin Kelly 2023-04-22 12:43:23 +01:00
parent 7d2c4973ff
commit db585162a0
2 changed files with 3 additions and 4 deletions

View File

@ -42,7 +42,6 @@ if script.Parent:FindFirstChild("ControlFrame") then
else
gui = script.Parent
end
local RbxGui = assert(LoadLibrary("RbxGui"))
local syncVideoCaptureSetting
local settingsButton, helpButton, settingsFrame, mouseLockLabel
local updateCameraDropDownSelection
@ -323,7 +322,7 @@ createHelpDialog = function(baseZIndex)
if UserSettings().GameSettings.ControlMode == Enum.ControlMode["Mouse Lock Switch"] then
image.Image = mouseLockLookScreenUrl
else
image.Image = imageclassicLookScreenUrl
image.Image = classicLookScreenUrl
end
end
buttons[2] = { }

View File

@ -39,7 +39,6 @@ gui = if script.Parent\FindFirstChild "ControlFrame"
else
script.Parent
RbxGui = assert LoadLibrary "RbxGui"
local syncVideoCaptureSetting
local settingsButton, helpButton, settingsFrame, mouseLockLabel
local updateCameraDropDownSelection
@ -370,7 +369,7 @@ createHelpDialog = (baseZIndex) ->
mouseLockLookScreenUrl
else
imageclassicLookScreenUrl
classicLookScreenUrl
buttons[2] = {}
@ -1340,6 +1339,7 @@ createGameSettingsMenu = (baseZIndex, _) ->
if LoadLibrary
global RbxGui = LoadLibrary "RbxGui"
baseZIndex = 0
if UserSettings
createSettingsDialog = ->