Merge pull request #59813 from Calinou/project-manager-default-env-newlines

Add missing newlines to the generated `default_env.tres` in new projects
This commit is contained in:
Rémi Verschelde 2022-04-02 21:54:02 +02:00 committed by GitHub
commit fa9b77dbe3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -482,7 +482,9 @@ private:
set_message(TTR("Couldn't create project.godot in project path."), MESSAGE_ERROR);
} else {
f->store_line("[gd_resource type=\"Environment\" load_steps=2 format=2]");
f->store_line("");
f->store_line("[sub_resource type=\"ProceduralSky\" id=1]");
f->store_line("");
f->store_line("[resource]");
f->store_line("background_mode = 2");
f->store_line("background_sky = SubResource( 1 )");