v0.10.5.1
This commit is contained in:
@@ -13,6 +13,8 @@ namespace Barotrauma
|
||||
|
||||
private RectTransform prevGuiElementParent;
|
||||
|
||||
public Exception LoadException;
|
||||
|
||||
public static RoundSummaryScreen Select(Sprite backgroundSprite, RoundSummary roundSummary)
|
||||
{
|
||||
var summaryScreen = new RoundSummaryScreen()
|
||||
@@ -51,5 +53,16 @@ namespace Barotrauma
|
||||
|
||||
spriteBatch.End();
|
||||
}
|
||||
|
||||
public override void Update(double deltaTime)
|
||||
{
|
||||
base.Update(deltaTime);
|
||||
if (LoadException != null)
|
||||
{
|
||||
var temp = LoadException;
|
||||
LoadException = null;
|
||||
throw temp;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user