if (state != "closed" && state != "closing") { state = "open"; char_state = "outro"; char_timer = 0; timer = 0; }