Skip to content

Commit

Permalink
fix(client/radial): don't display radial menu when nui is focused
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeWasTakenn committed Feb 16, 2023
1 parent 19d8a6e commit 0068730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/interface/client/radial.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0068730

Please sign in to comment.