fix: set settings on startup

This commit is contained in:
Tobias Berger 2024-04-05 00:03:46 +02:00
parent e52d10e49a
commit 3e2fa23503
Signed by: toby
GPG key ID: 2D05EFAB764D6A88
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View file

@ -30,6 +30,9 @@ public class TemplateMod : Mod
Log.Message(content.ModMetaData.packageIdLowerCase); Log.Message(content.ModMetaData.packageIdLowerCase);
Settings = GetSettings<TemplateSettings>();
WriteSettings();
// Harmony harmony = new(content.ModMetaData.packageIdLowerCase); // Harmony harmony = new(content.ModMetaData.packageIdLowerCase);
} }