summaryrefslogtreecommitdiff
path: root/DiscoBot/DSA_Game/Dsa.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DiscoBot/DSA_Game/Dsa.cs')
-rw-r--r--DiscoBot/DSA_Game/Dsa.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/DiscoBot/DSA_Game/Dsa.cs b/DiscoBot/DSA_Game/Dsa.cs
index e514691..c6ea1c3 100644
--- a/DiscoBot/DSA_Game/Dsa.cs
+++ b/DiscoBot/DSA_Game/Dsa.cs
@@ -6,7 +6,9 @@
using DiscoBot.Audio;
using DiscoBot.Auxiliary;
+ using DiscoBot.Commands;
using DiscoBot.DSA_Game.Characters;
+ using DiscoBot.DSA_Game.Save;
using Discord.Commands;
@@ -21,6 +23,8 @@
public static List<ICharacter> Chars { get; set; } = new List<ICharacter>(); // list of all characters
public static List<Talent> Talente { get; set; } = new List<Talent>();
+
+ public static Properties Properties { get; set; }
public static void Startup()
{
@@ -53,6 +57,9 @@
.Where(c => !Talente.Exists(v => v.Name.Equals(c.Name))).ToList().ForEach(v => Talente.Add(v));
}
+ Properties = Save.Properties.Deserialize();
+ Properties.Serialize();
+
Talente = Talente.OrderBy(x => x.Name).ToList();
}
}