Merge pull request #5067 from bell07/master

ScummVM: fix of last-minute-before-commit bug
This commit is contained in:
Daniel Johnson 2023-10-10 16:58:43 -04:00 committed by GitHub
commit 1d7673b936
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,6 @@ class ScummvmService(BaseService):
game.name = config[section]["description"]
game.slug = slugify(re.split(r" \(.*\)$", game.name)[0])
game.appid = section
game.game_id = section
game.runner = "scummvm"
game.lutris_slug = game.slug
game.details = json.dumps({
@ -66,9 +65,8 @@ class ScummvmService(BaseService):
"runner": "scummvm",
"script": {
"game": {
"game_id": db_game["game_id"],
"game_id": db_game["appid"],
"path": details["path"],
"platform": "scummvm"
}
}
}