Add image strings to groups and mods to keep them in the json on saves.

This commit is contained in:
Ottermandias 2024-07-12 17:37:55 +02:00
parent 40be298d67
commit 22af545e8d
8 changed files with 19 additions and 0 deletions

View file

@ -19,6 +19,7 @@ public readonly struct ModMeta(Mod mod) : ISavable
{ nameof(Mod.Name), JToken.FromObject(mod.Name) },
{ nameof(Mod.Author), JToken.FromObject(mod.Author) },
{ nameof(Mod.Description), JToken.FromObject(mod.Description) },
{ nameof(Mod.Image), JToken.FromObject(mod.Image) },
{ nameof(Mod.Version), JToken.FromObject(mod.Version) },
{ nameof(Mod.Website), JToken.FromObject(mod.Website) },
{ nameof(Mod.ModTags), JToken.FromObject(mod.ModTags) },