From 524b572071beb0594058dd5695fb6015c083efe0 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Fri, 17 May 2024 15:41:13 +1000 Subject: [PATCH] fix(client): prevent duplicate 'go back' options on nested menus --- client/main.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/main.lua b/client/main.lua index f78b238..271eb42 100644 --- a/client/main.lua +++ b/client/main.lua @@ -429,6 +429,8 @@ RegisterNUICallback('select', function(data, cb) menuChanged = true currentMenu = option.openMenu ~= 'home' and option.openMenu or nil + + options:wipe() else state.setNuiFocus(false) end