mirror of
https://github.com/lutris/lutris
synced 2024-10-02 22:14:23 +00:00
Remove condition preventing 'Install another version'
This commit is contained in:
parent
44c2419ac1
commit
a244174c02
|
@ -103,11 +103,10 @@ class GameActions:
|
|||
"""Install a game"""
|
||||
# Install the currently selected game in the UI
|
||||
for game in self.get_games():
|
||||
if not game.is_installed:
|
||||
if not game.slug:
|
||||
game_id = game.id if game.is_db_stored else game.name
|
||||
raise RuntimeError("No game to install: %s" % game_id)
|
||||
game.install(launch_ui_delegate=self.window)
|
||||
if not game.slug:
|
||||
game_id = game.id if game.is_db_stored else game.name
|
||||
raise RuntimeError("No game to install: %s" % game_id)
|
||||
game.install(launch_ui_delegate=self.window)
|
||||
|
||||
def on_add_favorite_game(self, _widget):
|
||||
"""Add to favorite Games list"""
|
||||
|
|
Loading…
Reference in a new issue