mirror of
https://github.com/lutris/lutris
synced 2024-11-05 18:10:49 +00:00
Set steamid to None for non steam games.
This commit is contained in:
parent
ece3f8258a
commit
a7da623143
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class ServiceGame:
|
|||
"""Return the SteamID, this is a special case since Steam's appid's are
|
||||
a field in the game table. Keeping this here allows to reuse the install method.
|
||||
"""
|
||||
if hasattr(self, "appid"):
|
||||
if hasattr(self, "appid") and hasattr(self, "runner") and "steam" in self.runner:
|
||||
return int(self.appid)
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in a new issue