mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-19 07:56:02 +01:00
fix(client/radial): don't display radial menu when nui is focused
This commit is contained in:
@@ -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