Fix issues with loading RbxGui
This commit is contained in:
parent
6582ae3552
commit
7d2c4973ff
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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 = ->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue