Skip to content

Commit

Permalink
Lua: fix error going back on menu opened.. somehow i lost some code..
Browse files Browse the repository at this point in the history
  • Loading branch information
manups4e committed Nov 5, 2023
1 parent 784978e commit e1c8754
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ScaleformUI_Lua/src/Menus/UIMenu/UIMenu.lua
Expand Up @@ -597,6 +597,10 @@ function UIMenu:Visible(bool)
MenuHandler.ableToDraw = true
self.OnMenuOpen(self)
self:BuildUpMenuAsync()
if BreadcrumbsHandler:Count() == 0 then
BreadcrumbsHandler:Forward(self)
end

else
self:FadeOutMenu()
ScaleformUI.Scaleforms.InstructionalButtons:ClearButtonList()
Expand Down

0 comments on commit e1c8754

Please sign in to comment.