mirror of
https://github.com/lutris/lutris
synced 2024-10-14 11:42:36 +00:00
Don't detect stopped games as running
This commit is contained in:
parent
f60bb76a83
commit
641e95509d
|
@ -471,7 +471,7 @@ class LutrisWindow(Gtk.Application):
|
|||
stopper()
|
||||
self.steam_watcher.stop()
|
||||
|
||||
if self.running_game:
|
||||
if self.running_game and self.running_game.state != self.running_game.STATE_STOPPED:
|
||||
logger.info("%s is still running, stopping it", self.running_game.name)
|
||||
self.running_game.stop()
|
||||
|
||||
|
|
Loading…
Reference in a new issue