on.update = function() if Global_state.next_save and Global_state.next_save < Current_time then save_results() Global_state.next_save = nil end end