Skip to content

Commit

Permalink
GetPatchLevelServer should return best possible patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Zereges committed Dec 22, 2021
1 parent be2eaac commit 2d82bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/saved_variables.lua
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ MTSLUI_SAVED_VARIABLES = {
local _, _, _, tocversion = GetBuildInfo()
if tocversion then
for _, v in pairs(MTSLUI_ADDON.SERVER_VERSION_PHASES) do
if v.max_tocversion <= tocversion then
if v.max_tocversion >= tocversion then
return v.id
end
end
Expand Down

0 comments on commit 2d82bf5

Please sign in to comment.