From 90f8bbad6e0a0795d0c2dbe37987eea732846a69 Mon Sep 17 00:00:00 2001 From: Dave Hendler Date: Sat, 31 Aug 2024 12:43:50 -0700 Subject: [PATCH] Tweak corrupt talent loadout message that has been confusing --- Simulationcraft.toc | 2 +- core.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Simulationcraft.toc b/Simulationcraft.toc index f71aab7..efbafdd 100644 --- a/Simulationcraft.toc +++ b/Simulationcraft.toc @@ -3,7 +3,7 @@ ## IconTexture: Interface\Addons\SimulationCraft\logo ## Notes: Constructs SimC export strings ## Author: Theck, navv_, seriallos -## Version: 11.0.2-01 +## Version: 11.0.2-02 ## OptionalDependencies: Ace3, LibRealmInfo, LibDBIcon, LibDataBroker-1.1 ## SavedVariables: SimulationCraftDB diff --git a/core.lua b/core.lua index 10c9416..529e038 100644 --- a/core.lua +++ b/core.lua @@ -361,8 +361,8 @@ local function WriteLoadoutContent(exportStream, configID, treeID) local entryIndex = GetActiveEntryIndex(treeNode); if(entryIndex <= 0 or entryIndex > 4) then local configInfo = Traits.GetConfigInfo(configID) - local errorMsg = "Talent loadout '" .. configInfo.name .. "' is corrupt/incomplete. It needs to be" - .. " recreated or deleted for /simc to function properly" + local errorMsg = "Talent loadout '" .. configInfo.name .. "' is corrupt/incomplete. Find that talent" + .. " loadout in your talents UI and delete or update it. It may be on a different spec." print(errorMsg); error(errorMsg); end