From b4bd880a56ba49e9332463aa7caed0a0694aede1 Mon Sep 17 00:00:00 2001 From: Lily Carpenter Date: Tue, 19 Sep 2023 01:28:06 -0500 Subject: [PATCH] Fix minor display bug from self-review --- warn-stranded.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/warn-stranded.lua b/warn-stranded.lua index bdbe7dd017..63bede9c39 100644 --- a/warn-stranded.lua +++ b/warn-stranded.lua @@ -345,7 +345,7 @@ local function getStrandedUnits() table.sort(rawGroups, compareGroups) -- The biggest group is not stranded - mainGroup = rawGroups[1]['walkGroup'] + mainGroup = rawGroups[#rawGroups]['walkGroup'] table.remove(rawGroups, #rawGroups) -- Merge ignoredGroup with grouped