Add missing call to gamemode_available

This commit is contained in:
Mathieu Comandon 2020-06-29 16:43:31 -07:00 committed by Mathieu Comandon
parent 5be0273d05
commit cbc9d9e43e

View file

@ -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")