Duplicate @strcore's prophylactic code for the special lutris.py game service game lookup code too.

This commit is contained in:
Daniel Johnson 2024-01-09 04:33:32 -05:00
parent af8d00c029
commit 04be24351c

View file

@ -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):