void Update() { if (time != null && time.active == false && player_win_timer != null && player_win_timer.active == false) { ev.reinitialisation(core.current_grid); chrono.Remove_timer(player_win_timer); chrono.Remove_timer(time); time = null; player_win_timer = null; core.step = 0; } }