Skip to content

Commit 508ad09

Browse files
committed
fix: back button in mod's poker hand additions goes back to Others menu (Fixes #1160)
1 parent f7c8dc1 commit 508ad09

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ui.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2331,8 +2331,7 @@ create_UIBox_your_collection_poker_hands = function (args)
23312331
((G.ACTIVE_MOD_UI.ui_config or {}).collection_back_colour or (G.ACTIVE_MOD_UI.ui_config or {}).back_colour),
23322332
outline_colour = G.ACTIVE_MOD_UI and ((G.ACTIVE_MOD_UI.ui_config or {}).collection_outline_colour or
23332333
(G.ACTIVE_MOD_UI.ui_config or {}).outline_colour),
2334-
back_func = (args and args.back_func) or G.ACTIVE_MOD_UI and "openModUI_" .. G.ACTIVE_MOD_UI.id or
2335-
'your_collection_other_gameobjects',
2334+
back_func = (args and args.back_func) or 'your_collection_other_gameobjects',
23362335
snap_back = args and args.snap_back,
23372336
infotip = args and args.infotip,
23382337
contents = {

0 commit comments

Comments
 (0)