mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-27 13:04:44 +00:00
fix(interface/context): set openContextMenu to nil when closing a menu
This commit is contained in:
1 parent
962e735d6f
commit
f6c1871e54
1 file changed
+1
@@ -51,4 +51,5 @@ end)
|
|||||||
RegisterNUICallback('closeContext', function(_, cb)
|
RegisterNUICallback('closeContext', function(_, cb)
|
||||||
cb(1)
|
cb(1)
|
||||||
SetNuiFocus(false, false)
|
SetNuiFocus(false, false)
|
||||||
|
openContextMenu = nil
|
||||||
end)
|
end)
|
||||||
Reference in new issue
Block a user