Enhance game name resolution with case variations

Added additional checks for game name resolution using different case formats.
This commit is contained in:
Roy
2026-07-12 05:09:50 -07:00
committed by GitHub
parent 13d52ccc77
commit 09005c43ef
+10
View File
@@ -5364,8 +5364,18 @@ if game_dict:
elif game_key in ("seaofthieves", "sot", "scor"):
game_key = "SCOR"
game_name = flavor_mapping.get(game_key)
if not game_name:
game_name = flavor_mapping.get(game_key.upper())
if not game_name:
game_name = flavor_mapping.get(game_key.lower())
if not game_name:
game_name = flavor_mapping.get(game_key.title())
if not game_name:
print(f"Unknown game mapping: {game_key}, skipping")
continue