Timer stops in web when user opens new tab

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By trisolaran

How can i prevent the a timer stopping in the godot browser tab, when the user opens another browser tab? The game is not stopping, but the timer, that counts the game time. When the user returns to the godot tab, there is a mismatch between the game time and the timer count.