mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
🩹 fix menu stuck
This commit is contained in:
@@ -15,6 +15,9 @@ end
|
||||
local function closeMenu(namespace, name)
|
||||
CurrentNameSpace = namespace
|
||||
OpenedMenus -= 1
|
||||
if OpenedMenus < 0 then
|
||||
OpenedMenus = 0
|
||||
end
|
||||
SendNUIMessage({
|
||||
action = 'closeMenu',
|
||||
namespace = namespace,
|
||||
|
||||
Reference in New Issue
Block a user