Merge pull request #41163 from raulsntos/default-env-formatting
Create default_env.tres with the same format used to save it
This commit is contained in:
commit
cb0009fcd0
1 changed files with 3 additions and 1 deletions
|
@ -475,10 +475,12 @@ 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=\"Sky\" id=1]");
|
||||
f->store_line("");
|
||||
f->store_line("[resource]");
|
||||
f->store_line("background_mode = 2");
|
||||
f->store_line("background_sky = SubResource( 1 )");
|
||||
f->store_line("sky = SubResource( 1 )");
|
||||
memdelete(f);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue