refactor(client/radial): don't refresh submenu if parent updated

Possibly works as intended, even.
This commit is contained in:
Linden
2023-02-24 14:39:17 +11:00
parent f130a27680
commit b779ea7c3b

View File

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