🎨 Reorganized game loading from disk

This commit is contained in:
GeoffreyCoulaud
2023-05-24 17:08:34 +02:00
parent 8026c41886
commit 7220852291
8 changed files with 32 additions and 14 deletions

View File

@@ -103,7 +103,7 @@ class Store:
"""
# Ignore games from a newer spec version
if (version := game.get("version")) and version > shared.spec_version:
if game.version > shared.spec_version:
return None
# Ignore games that are already there