Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3690e46

Browse files
author
Ben
committed
Forgot one flag removal
1 parent 157b58f commit 3690e46

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

CoreScriptsRoot/Modules/BackpackScript.lua

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ local DOUBLE_CLICK_TIME = 0.5
6161
-----------------
6262
--| Variables |--
6363
-----------------
64-
local controllerMenuSuccess,controllerMenuFlagValue = pcall(function() return settings():GetFFlag("ControllerMenu") end)
65-
local useNewControllerMenu = (controllerMenuSuccess and controllerMenuFlagValue)
66-
6764
local PlayersService = game:GetService('Players')
6865
local UserInputService = game:GetService('UserInputService')
6966
local StarterGui = game:GetService('StarterGui')
@@ -1437,11 +1434,9 @@ do -- Make the Inventory expand/collapse arrow (unless TopBar)
14371434
BackpackScript.IsOpen = InventoryFrame.Visible
14381435
BackpackScript.StateChanged:Fire(InventoryFrame.Visible)
14391436

1440-
if useNewControllerMenu then
1441-
local SettingsHub = require(RobloxGui.Modules.Settings:WaitForChild("SettingsHub"))
1442-
if SettingsHub.Instance.Visible then
1443-
SettingsHub:SetVisibility(false)
1444-
end
1437+
local SettingsHub = require(RobloxGui.Modules.Settings:WaitForChild("SettingsHub"))
1438+
if SettingsHub.Instance.Visible then
1439+
SettingsHub:SetVisibility(false)
14451440
end
14461441
end
14471442
HotkeyFns[ARROW_HOTKEY] = openClose

0 commit comments

Comments
 (0)