Skip to content

Commit 06bd249

Browse files
committed
Fix an error in DF introduced by the TWW code changes
1 parent 3d41b8c commit 06bd249

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/ImportExportV1.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local _, ns = ...
22

3-
local LOADOUT_SERIALIZATION_VERSION = 2;
3+
local LOADOUT_SERIALIZATION_VERSION = 1;
44
if C_Traits.GetLoadoutSerializationVersion() ~= LOADOUT_SERIALIZATION_VERSION then return; end
55

66
--- @todo remove this file in TWW
@@ -332,8 +332,6 @@ end
332332
--- @param levelingBuild nil|TLM_LevelingBuildEntry_withLevel[]
333333
--- @public
334334
function ImportExport:ExportLoadoutToString(classID, specID, deserializedLoadout, levelingBuild)
335-
local LOADOUT_SERIALIZATION_VERSION = C_Traits.GetLoadoutSerializationVersion and C_Traits.GetLoadoutSerializationVersion() or 1;
336-
337335
local exportStream = ExportUtil.MakeExportDataStream();
338336
local treeID = LibTT:GetClassTreeId(classID);
339337

0 commit comments

Comments
 (0)