Don't write spawns when the editor is disabled.