DevelopersPL / DevAAC

DevAAC for TFS 1.0
https://developerspl.github.io/DevAAC
MIT License
29 stars 16 forks source link

Focused intervals #3

Closed Znote closed 10 years ago

Znote commented 10 years ago

Make all inerval based logic check if window is focused before executing the interval. This will prevent useless API calls when player is keeping website open, but in another tab/in the background of their web browser.