mirror of
https://github.com/lutris/lutris
synced 2024-09-05 15:33:40 +00:00
Set steamid to None for non steam games.
This commit is contained in:
parent
ece3f8258a
commit
a7da623143
|
@ -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