mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-19 07:56:02 +01:00
fix(interface/context): set openContextMenu to nil when closing a menu
This commit is contained in:
@@ -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