From 672d97c97a7eb52f8a24ff50d555fcd48f29b7ba Mon Sep 17 00:00:00 2001 From: esainane Date: Mon, 11 May 2020 16:18:18 +1200 Subject: [PATCH] Unbreak local_options (oops) --- LuaUI/Widgets/gui_gesture_build.lua | 2 +- LuaUI/Widgets/gui_gesture_comms.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaUI/Widgets/gui_gesture_build.lua b/LuaUI/Widgets/gui_gesture_build.lua index bbf6f7ef2c..e25a408d65 100644 --- a/LuaUI/Widgets/gui_gesture_build.lua +++ b/LuaUI/Widgets/gui_gesture_build.lua @@ -204,7 +204,7 @@ for k,v in pairs(local_options) do options[k] = v end for i = 1,#local_options_order do - options_order[#options_order] = local_options_order[i] + options_order[#options_order+1] = local_options_order[i] end -- Set some saner defaults diff --git a/LuaUI/Widgets/gui_gesture_comms.lua b/LuaUI/Widgets/gui_gesture_comms.lua index 835c9a7214..c3b3e268be 100644 --- a/LuaUI/Widgets/gui_gesture_comms.lua +++ b/LuaUI/Widgets/gui_gesture_comms.lua @@ -83,7 +83,7 @@ for k,v in pairs(local_options) do options[k] = v end for i = 1,#local_options_order do - options_order[#options_order] = local_options_order[i] + options_order[#options_order+1] = local_options_order[i] end -- Set some saner defaults