Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Lua: PauseMenu fix OnPauseMenuTabChanged
  • Loading branch information
manups4e committed Jul 19, 2023
1 parent 7761200 commit 1b58bae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ScaleformUI_Lua/src/PauseMenu/TabView.lua
Expand Up @@ -642,6 +642,7 @@ function TabView:GoLeft()
else
ClearPedInPauseMenu()
end
self.OnPauseMenuTabChanged(self, tab, self.index)
elseif self:FocusLevel() == 1 then
local tab = self.Tabs[self.index]
local _, subT = tab()
Expand Down Expand Up @@ -727,6 +728,7 @@ function TabView:GoRight()
else
ClearPedInPauseMenu()
end
self.OnPauseMenuTabChanged(self, tab, self.index)
elseif self:FocusLevel() == 1 then
local tab = self.Tabs[self.index]
local _, subT = tab()
Expand Down

0 comments on commit 1b58bae

Please sign in to comment.