level seeds

This commit is contained in:
Regalis
2015-07-06 22:48:18 +03:00
parent d836a99515
commit 0628e47b97
7 changed files with 20 additions and 12 deletions

View File

@@ -113,15 +113,15 @@ namespace Subsurface
public void StartShift(TimeSpan duration, string levelSeed, int scriptedEventCount = 1)
{
Level level = Level.CreateRandom(levelSeed);
StartShift(duration, level, scriptedEventCount);
}
public void StartShift(TimeSpan duration, Level level, int scriptedEventCount = 1)
{
//if (crewManager.characterInfos.Count == 0) return;
this.level = level;
if (Submarine.Loaded!=submarine) submarine.Load();