Don't prevent sleep/screensaver when paused
Posted: Wed Nov 13, 2024 9:02 pm
On Mac, when the game is running, screen saver, display off, and sleep are inhibited. Overall this is a good thing. When the game is paused (e.g pressing escape for the load/save menu in single player), though, it still happens even though it's not necessary at all. This means if I pause and go to bed, the computer and monitors stay on all night. Have to manually save and quit the game if I want the computer to go to sleep. Factorio could remove the wake lock (IOPMAssertion or similar) when the game isn't actively running.