mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
Merge pull request #1027 from Thekuca/patch-9
fix(esx_menu_default): fix OpenedMenus bugging to be under 0
This commit is contained in:
@@ -14,6 +14,7 @@ end
|
||||
|
||||
local function closeMenu(namespace, name)
|
||||
CurrentNameSpace = namespace
|
||||
if OpenedMenus < 1 then return end
|
||||
OpenedMenus -= 1
|
||||
SendNUIMessage({
|
||||
action = 'closeMenu',
|
||||
@@ -126,4 +127,4 @@ ESX.RegisterInput('menu_default_right', 'Change menu slider to right', 'keyboard
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user