mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-19 02:28:33 +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',
|
||||
defaultKey = 'z',
|
||||
onPressed = function()
|
||||
if isOpen or #menuItems == 0 then return end
|
||||
if isOpen or #menuItems == 0 or IsNuiFocused() or IsPauseMenuActive() then return end
|
||||
|
||||
isOpen = true
|
||||
|
||||
|
||||
Reference in new issue
Block a user