little tool for tournament cross-tables
on.quit = function()
	if Global_state.next_save then
		save_results()
		Global_state.next_save = nil
	end
end