From f6ab7b321404a738f41b2ec10697612d87ba97f3 Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Sun, 8 Oct 2023 08:53:26 +0200 Subject: [PATCH] ScummVM: Use full description as name, because of variants --- lutris/services/scummvm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lutris/services/scummvm.py b/lutris/services/scummvm.py index 0aeeed7d6..14af8bf2f 100644 --- a/lutris/services/scummvm.py +++ b/lutris/services/scummvm.py @@ -45,8 +45,8 @@ class ScummvmService(BaseService): if section == "scummvm": continue game = ScummvmGame() - game.name = re.split(r" \(.*\)$", config[section]["description"])[0] - game.slug = slugify(game.name) + game.name = config[section]["description"] + game.slug = slugify(re.split(r" \(.*\)$", game.name)[0]) game.appid = section game.game_id = section game.runner = "scummvm" @@ -66,7 +66,7 @@ class ScummvmService(BaseService): "runner": "scummvm", "script": { "game": { - "game_id": game["appid"], + "game_id": game["game_id"], "path": details["path"], "platform": "scummvm" }