From 466f5bd72509af803fe2069bc18508a4995ff2a9 Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Mon, 31 Oct 2016 09:57:59 -0700 Subject: [PATCH] This is not legacy, I have no plans to deprecate it --- lutris/installer/interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lutris/installer/interpreter.py b/lutris/installer/interpreter.py index 0aab3abf5..cc50ac783 100644 --- a/lutris/installer/interpreter.py +++ b/lutris/installer/interpreter.py @@ -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']):