Fade in when shift starts, fixed fadeout canceling before screen is switched to lobby
This commit is contained in:
@@ -182,9 +182,6 @@ namespace Barotrauma
|
||||
{
|
||||
GUI.Init(Content);
|
||||
|
||||
sw = new Stopwatch();
|
||||
|
||||
|
||||
GUIComponent.Init(Window);
|
||||
DebugConsole.Init(Window);
|
||||
yield return CoroutineStatus.Running;
|
||||
@@ -338,11 +335,8 @@ namespace Barotrauma
|
||||
//{
|
||||
// System.Threading.Thread.Sleep((int)((Physics.step - elapsed) * 1000.0));
|
||||
//}
|
||||
sw.Restart();
|
||||
}
|
||||
|
||||
Stopwatch sw;
|
||||
|
||||
static bool waitForKeyHit = true;
|
||||
public static void ShowLoading(IEnumerable<object> loader, bool waitKeyHit = true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user