Attempt to fix loading RbxGui again
This commit is contained in:
parent
7d2c4973ff
commit
db585162a0
|
|
@ -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] = { }
|
||||
|
|
|
|||
|
|
@ -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 = ->
|
||||
|
|
|
|||
Loading…
Reference in New Issue