mirror of
https://github.com/lutris/lutris
synced 2024-11-02 14:27:51 +00:00
Fix Frotz 'Run in terminal' option not properly forced
This commit is contained in:
parent
d3b614b2be
commit
212623992e
1 changed files with 2 additions and 3 deletions
|
@ -34,11 +34,10 @@ class frotz(Runner):
|
|||
|
||||
# Force 'Run in terminal' option
|
||||
if config:
|
||||
sys_conf = config.runner_level.get('system')
|
||||
if sys_conf and not sys_conf.get('terminal'):
|
||||
sys_conf = config.runner_level['system']
|
||||
if not sys_conf.get('terminal'):
|
||||
current_level = config.level
|
||||
config.level = 'runner'
|
||||
config.update_cascaded_config()
|
||||
sys_conf['terminal'] = True
|
||||
config.save()
|
||||
config.level = current_level
|
||||
|
|
Loading…
Reference in a new issue