mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +03:00
If an error occurs while loading a replay, it's *supposed* to show a popup "hey do you wanna continue with error tolerance", and it does do this. But because of spaghetti in the replay state code, it also immediately tries to reload the replay without input, as a consequence of trying to reset to the game's default state. Now the replay load system has a proper game state for "replay load failed", with nice presentation and explicit formatting and 10% less italian cuisine. (cherry picked from commit b6ca604a661e2b98ed9b3e9a8f5ce88a7cd49cfa)
15 lines
828 B
XML
15 lines
828 B
XML
<Control xmlns="https://spacestation14.io"
|
|
xmlns:pllax="clr-namespace:Content.Client.Parallax">
|
|
<pllax:ParallaxControl />
|
|
<Control HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
<PanelContainer StyleClasses="AngleRect" />
|
|
<BoxContainer Orientation="Vertical" SetSize="800 600" Margin="2">
|
|
<ScrollContainer Name="what" VerticalExpand="True" HScrollEnabled="False" Margin="0 0 0 2" ReturnMeasure="True">
|
|
<RichTextLabel Name="ReasonLabel" VerticalAlignment="Top" />
|
|
</ScrollContainer>
|
|
<Button Name="RetryButton" StyleClasses="Caution" Text="{Loc 'replay-loading-retry'}" Visible="False" />
|
|
<Button Name="CancelButton" Text="{Loc 'replay-loading-cancel'}" Visible="False" />
|
|
</BoxContainer>
|
|
</Control>
|
|
</Control>
|