"Sigh..."

This commit is contained in:
kramo
2023-06-17 16:33:27 +02:00
parent 009e6f3641
commit 8dcbe56e76

View File

@@ -156,7 +156,7 @@ class DetailsWindow(Adw.Window):
prefix = "imported_"
if not game_id.startswith(prefix):
continue
numbers.append(int(game_id.replace(prefix, "")))
numbers.append(int(game_id.replace(prefix, "", 1)))
game_number = max(numbers) + 1
self.game = Game(