From 69c25413a0e8033f37c0603d67609e2644610b2a Mon Sep 17 00:00:00 2001 From: Mark W Date: Tue, 7 May 2024 23:38:05 +0200 Subject: [PATCH] Fix a bug with saving a loadout through the default UI sidebar --- core/TalentLoadoutManager.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/core/TalentLoadoutManager.lua b/core/TalentLoadoutManager.lua index 41a1574..c0c555f 100644 --- a/core/TalentLoadoutManager.lua +++ b/core/TalentLoadoutManager.lua @@ -452,6 +452,7 @@ end --- @param configID number --- @return string|false serialized loadout function TLM:SerializeLoadout(configID, specID) + specID = specID or self.playerSpecID; local importString = ImportExport:TryExportBlizzardLoadoutToString(configID, specID); if importString and importString ~= "" then return (self:BuildSerializedSelectedNodesFromImportString(importString));