Closed Znote closed 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.
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.