From 5ea859ad50b2fe033f2e650e819fe19a04c12a57 Mon Sep 17 00:00:00 2001 From: Wires77 Date: Fri, 13 Jun 2025 13:20:46 -0500 Subject: [PATCH] Fix League name in Exporter --- src/Export/Main.lua | 2 +- src/Export/spec.lua | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/Export/Main.lua b/src/Export/Main.lua index c764d17b..64611ba4 100644 --- a/src/Export/Main.lua +++ b/src/Export/Main.lua @@ -86,7 +86,7 @@ function main:Init() self:LoadDatFiles() end if self.datFileByName["leaguenames"] then - self.leagueLabel = self.datFileByName["leaguenames"]:ReadValueText({ type = "String" }, self.datFileByName["leaguenames"].rows[2] + 8) + self.leagueLabel = self.datFileByName["leaguenames"]:ReadValueText({ type = "String" }, self.datFileByName["leaguenames"].rows[#self.datFileByName["leaguenames"].rows] + 8) end end diff --git a/src/Export/spec.lua b/src/Export/spec.lua index 4cd3606c..ea3551c2 100644 --- a/src/Export/spec.lua +++ b/src/Export/spec.lua @@ -6487,6 +6487,27 @@ return { leagueinfopanelversions={ }, leaguenames={ + [1]={ + list=false, + name="", + refTo="", + type="String", + width=150 + }, + [2]={ + list=false, + name="Name", + refTo="", + type="String", + width=150 + }, + [3]={ + list=false, + name="", + refTo="", + type="String", + width=150 + } }, leagueprogressquestflags={ },