sparticle999 / SpaceCompany

An incremental game about Space Mining
http://sparticle999.github.io/SpaceCompany
Other
301 stars 169 forks source link

energy continues to be used while computer is asleep #449

Closed PitchBlackNights closed 1 year ago

PitchBlackNights commented 3 years ago

When you put your computer to sleep with the tab still open,you may come back to 0/??????? (used ? to represent your current max energy) energy. What is happening is that while your computer is asleep, energy production is paused, but energy consumption is still running. Yes, this is ok as it is (provides a boost to mats while asleep, but only for a limited time), but I constantly find my self having to keep my computer awake just to get enough energy to convert plasma. It gets annoying when the computer sleeps, and I come back to find 0/??????? energy. This also happens if the tab hasn't be focused on for a while.