game: Fix overflow bug causing resource history to update too fast