mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-29 13:14:44 +00:00
fix(client/radial): don't display radial menu when nui is focused
This commit is contained in:
1 parent
19d8a6ef28
commit
006873007f
1 file changed
+1
-1
@@ -120,7 +120,7 @@ lib.addKeybind({
|
|||||||
description = 'Open radial menu',
|
description = 'Open radial menu',
|
||||||
defaultKey = 'z',
|
defaultKey = 'z',
|
||||||
onPressed = function()
|
onPressed = function()
|
||||||
if isOpen or #menuItems == 0 then return end
|
if isOpen or #menuItems == 0 or IsNuiFocused() or IsPauseMenuActive() then return end
|
||||||
|
|
||||||
isOpen = true
|
isOpen = true
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user