Fade in when shift starts, fixed fadeout canceling before screen is switched to lobby

This commit is contained in:
Regalis
2016-01-20 23:22:55 +02:00
parent 6f537ebc7c
commit 2761c4a610
5 changed files with 47 additions and 13 deletions
+2 -1
View File
@@ -28,7 +28,6 @@ namespace Barotrauma
get
{
return currentMission;
return null;
}
}
@@ -137,6 +136,8 @@ namespace Barotrauma
if (gameMode!=null) gameMode.Start();
TaskManager.StartShift(level);
GameMain.GameScreen.ColorFade(Color.Black, Color.TransparentBlack, 5.0f);
}
public void EndShift(string endMessage)