mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
refactor(client/radial): don't refresh submenu if parent updated
Possibly works as intended, even.
This commit is contained in:
@@ -71,7 +71,7 @@ local function refreshRadial(menuId)
|
|||||||
for j = 1, #parent.items do
|
for j = 1, #parent.items do
|
||||||
-- If we still have a path to the current submenu, refresh instead of returning
|
-- If we still have a path to the current submenu, refresh instead of returning
|
||||||
if parent.items[j].menu == currentRadial.id then
|
if parent.items[j].menu == currentRadial.id then
|
||||||
return showRadial(currentRadial.id)
|
return -- showRadial(currentRadial.id)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user