When offscreen (IE in another macOs desktop), the mob timer accuracy tends to drift, making turns last several minutes longer than they should.
This pull request moves away from trusting the SetInterval callback to be called every second, and instead relies on computed time differences using Javascript's Date object.
When offscreen (IE in another macOs desktop), the mob timer accuracy tends to drift, making turns last several minutes longer than they should.
This pull request moves away from trusting the SetInterval callback to be called every second, and instead relies on computed time differences using Javascript's Date object.