Skip to content

Commit

Permalink
[fix] Fix startup after Glancing Blow integration (Thanks @danez)
Browse files Browse the repository at this point in the history
  • Loading branch information
danez authored Mar 27, 2024
1 parent 47bfec3 commit 8626a26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Modules/Migration.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ function Migration:ToLatestProfileVersion(profileVersion)
if profileVersion < 18 then
ExtendedCharacterStats.profile.defense.defenseRating.isTbcOnly = true
end
if profileVersion < 19 then
ExtendedCharacterStats.profile.melee.glance = defaultProfile.profile.melee.glance
end
end
2 changes: 1 addition & 1 deletion Modules/Profile.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local Profile = ECSLoader:CreateModule("Profile")
local Utils = ECSLoader:ImportModule("Utils")

function Profile:GetProfileVersion()
return 18
return 19
end

---@return ECSProfile
Expand Down

0 comments on commit 8626a26

Please sign in to comment.