mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Migrate all commands to new lib
This commit is contained in:
@@ -195,7 +195,7 @@ Gui.toggle_top_flow(game.player, true)
|
||||
]]
|
||||
function Gui.toggle_top_flow(player, state)
|
||||
-- Get the top flow, we need the parent as we want to toggle the outer frame
|
||||
local top_flow = Gui.get_top_flow(player).parent
|
||||
local top_flow = Gui.get_top_flow(player).parent --- @cast top_flow -nil
|
||||
if state == nil then state = not top_flow.visible end
|
||||
|
||||
-- Get the show button for the top flow
|
||||
|
||||
Reference in New Issue
Block a user