bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] utils/create_new_project.py generates invalid *.project files #85

Open bnoazx005 opened 2 years ago

bnoazx005 commented 2 years ago

Bug report

utils/create_new_project.py generates also a project settings file that has invalid indentations for lists because of PyYAML library

Environment

Win 10 x64 / Visual Studio 2022 / TDEngine2-v0.6.x / NVidia GTX 860M

Steps to reproduce the issue

  1. Call python utils/create_new_project.py NewSample/ NewSample

  2. Compile and run the application

What's the expected result?

The project settings file should be correctly loaded

What's the actual result?

The default values are loaded instead of *.project file