Skip to content

Commit

Permalink
fix(client/radial): don't refresh radial menu when in sub menu
Browse files Browse the repository at this point in the history
resolves #233
  • Loading branch information
LukeWasTakenn committed Feb 22, 2023
1 parent f5bada7 commit b22840f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resource/interface/client/radial.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function lib.addRadialItem(items)
menuItems[menuSize + 1] = items
end

if isOpen then
if isOpen and not currentRadial then
SendNUIMessage({
action = 'refreshItems',
data = menuItems
Expand All @@ -99,7 +99,7 @@ function lib.removeRadialItem(id)
break
end
end
if isOpen then
if isOpen and not currentRadial then
SendNUIMessage({
action = 'refreshItems',
data = menuItems
Expand Down

0 comments on commit b22840f

Please sign in to comment.