fix: mapgen: saving mg_params