Syncing campaign state & save files with clients (WIP)

This commit is contained in:
Joonas Rikkonen
2017-09-11 21:32:48 +03:00
parent 51cfef214c
commit 63bca3c7ea
13 changed files with 383 additions and 107 deletions
@@ -79,6 +79,7 @@ namespace Barotrauma
public string SavePath
{
get { return savePath; }
set { savePath = value; }
}
public GameSession(Submarine submarine, string savePath, GameModePreset gameModePreset = null, string missionType = "")
@@ -168,7 +169,7 @@ namespace Barotrauma
this.level = level;
if (submarine==null)
if (submarine == null)
{
DebugConsole.ThrowError("Couldn't start game session, submarine not selected");
return;