that´s because you are changing the var game_state somewhere to a value different from zero.