fix(client/radial): don't display radial menu when nui is focused

This commit is contained in:
Luke
2023-02-16 14:19:59 +01:00
parent 19d8a6ef28
commit 006873007f

View File

@@ -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