Skip to content

Commit 6bf9a74

Browse files
committed
Fix 8.5 to 9.2 checks
1 parent c184977 commit 6bf9a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ async def check(game: Game, full=False, login=False):
266266
globals.refresh_progress = 1
267267

268268
last_breaking_changes_version = "9.0"
269-
checked = game.last_refresh_version.split(".")
269+
checked = (game.last_refresh_version or "8.5").split(".")
270270
breaking = last_breaking_changes_version.split(".")
271271
if len(breaking) > len(checked):
272272
checked += ["0" for _ in range(len(breaking) - len(checked))]

0 commit comments

Comments
 (0)