fixed Settings-File not being created and start of Recent-Projects-Menu

This commit is contained in:
Simon Lübeß
2023-06-18 16:05:03 +02:00
parent e8e6207bc1
commit 3becc1e25b
3 changed files with 39 additions and 1 deletions
+5
View File
@@ -67,6 +67,11 @@ namespace GlitchyEngine
{
Settings settings = Application.Get().Settings;
if (!File.Exists("./settings.bon"))
{
settings.Save();
}
var result = Bon.DeserializeFromFile(ref settings, "./settings.bon");
if (result case .Err)