fix(client/radial): handle submenu transition

Resolve #225.
This commit is contained in:
Linden
2023-02-18 21:26:58 +11:00
parent 828ca36c1c
commit 9df936ab16

View File

@@ -29,6 +29,17 @@ local function showRadial(id)
currentRadial = radial
-- Hide current menu and allow for transition
SendNUIMessage({
action = 'openRadialMenu',
data = false
})
Wait(100)
-- If menu was closed during transition, don't open the submenu
if not isOpen then return end
SendNUIMessage({
action = 'openRadialMenu',
data = {