From 76e6d748b65e6ef8685e179769817af7a2f5476f Mon Sep 17 00:00:00 2001 From: Aussiemon Date: Sun, 12 Mar 2023 20:17:59 -0600 Subject: [PATCH] Draw command description strings in proper order --- dmf/scripts/mods/dmf/modules/ui/chat/commands_list_gui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmf/scripts/mods/dmf/modules/ui/chat/commands_list_gui.lua b/dmf/scripts/mods/dmf/modules/ui/chat/commands_list_gui.lua index b6d7fcf..997ce6c 100644 --- a/dmf/scripts/mods/dmf/modules/ui/chat/commands_list_gui.lua +++ b/dmf/scripts/mods/dmf/modules/ui/chat/commands_list_gui.lua @@ -193,7 +193,7 @@ local function draw(commands_list, selected_command_index) -- draw command description text (2+ strings) if command.selected and multistring then - for j = 2, selected_strings_number do + for j = selected_strings_number, 2, -1 do string_position.y = string_position.y - STRING_HEIGHT * scale Gui.slug_text(_gui, command_text_strings[j], font, font_size, string_position, nil, Color(255, 255, 255, 255))