mirror of
https://github.com/lutris/lutris
synced 2024-07-05 16:38:42 +00:00
This is not legacy, I have no plans to deprecate it
This commit is contained in:
parent
61bdf56f50
commit
466f5bd725
|
@ -135,7 +135,7 @@ class ScriptInterpreter(CommandsMixin):
|
|||
def _get_installed_dependency(self, dependency):
|
||||
"""Return whether a dependency is installed"""
|
||||
game = pga.get_game_by_field(dependency, field='installer_slug')
|
||||
# Legacy support of installers using game slug as requirement
|
||||
|
||||
if not game:
|
||||
game = pga.get_game_by_field(dependency, 'slug')
|
||||
if bool(game) and bool(game['directory']):
|
||||
|
|
Loading…
Reference in New Issue
Block a user