mirror of
https://github.com/lutris/lutris
synced 2024-10-02 22:14:23 +00:00
Add missing call to gamemode_available
This commit is contained in:
parent
5be0273d05
commit
cbc9d9e43e
|
@ -469,7 +469,7 @@ class Game(GObject.Object):
|
|||
env["LD_PRELOAD"] = ld_preload
|
||||
|
||||
# Feral gamemode
|
||||
gamemode = system_config.get("gamemode") and LINUX_SYSTEM.gamemode_available
|
||||
gamemode = system_config.get("gamemode") and LINUX_SYSTEM.gamemode_available()
|
||||
if gamemode:
|
||||
if system.find_executable("gamemoderun"):
|
||||
launch_arguments.insert(0, "gamemoderun")
|
||||
|
|
Loading…
Reference in a new issue