mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-25 12:28:34 +00:00
refactor(client/radial): don't refresh submenu if parent updated
Possibly works as intended, even.
This commit is contained in:
1 parent
f130a27680
commit
b779ea7c3b
1 file changed
+1
-1
@@ -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