From 68e49d3b0936101deba1251e95b9788716c0722a Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Mon, 18 Jun 2018 11:39:41 +0200 Subject: reworked Properties, to split each fiel into a different File --- DiscoBot/DSA_Game/Save/Session.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'DiscoBot/DSA_Game/Save/Session.cs') diff --git a/DiscoBot/DSA_Game/Save/Session.cs b/DiscoBot/DSA_Game/Save/Session.cs index b0a34a5..15ccc18 100644 --- a/DiscoBot/DSA_Game/Save/Session.cs +++ b/DiscoBot/DSA_Game/Save/Session.cs @@ -22,6 +22,8 @@ namespace DiscoBot.DSA_Game.Save public List Chars { get; set; } = new List(); // list of all characters + public string SessionName { get; set; } + public static Session Load(string path = @"..\..\session.json") { try -- cgit v1.2.3-54-g00ecf