mirror of
https://github.com/lutris/lutris
synced 2024-10-06 15:59:39 +00:00
Duplicate @strcore's prophylactic code for the special lutris.py game service game lookup code too.
This commit is contained in:
parent
af8d00c029
commit
04be24351c
|
@ -154,7 +154,9 @@ class LutrisService(OnlineService):
|
|||
return []
|
||||
|
||||
def get_service_db_game(self, game: Game):
|
||||
return ServiceGameCollection.get_game(self.id, game.slug)
|
||||
if game.service == self.id and game.slug:
|
||||
return ServiceGameCollection.get_game(self.id, game.slug)
|
||||
return None
|
||||
|
||||
|
||||
def download_lutris_media(slug):
|
||||
|
|
Loading…
Reference in a new issue