Skip to content

Commit

Permalink
Gosh, there's a bunch of misattributed attributes!
Browse files Browse the repository at this point in the history
  • Loading branch information
strycore committed Jul 12, 2020
1 parent 863c781 commit a8ae60e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lutris/game.py
Expand Up @@ -449,7 +449,7 @@ def get_terminal(self):
Remember that only games using text mode should use the terminal.
"""
if self.runner.system_config.get("terminal"):
terminal = self.system_config.get("terminal_app", system.get_default_terminal())
terminal = self.runner.system_config.get("terminal_app", system.get_default_terminal())
if terminal and not system.find_executable(terminal):
raise GameConfigError(_("The selected terminal application could not be launched:\n%s") % terminal)
return terminal
Expand Down Expand Up @@ -508,7 +508,7 @@ def configure_game(self, prelaunched, error=None): # noqa: C901

# Input control

if self.system_config.get("use_us_layout"):
if self.runner.system_config.get("use_us_layout"):
self.set_keyboard_layout("us")

# Display control
Expand Down

0 comments on commit a8ae60e

Please sign in to comment.