fix when return title screen in a boss battle, may cause some unexpected split in next run

rabi_display
Copy Liu 8 years ago
parent 443b002812
commit fc01b9cb29
No known key found for this signature in database
GPG Key ID: 63A453DBF23409AF
  1. 2
      rabi_splitter_WPF/MainWindow.xaml
  2. 2
      rabi_splitter_WPF/MainWindow.xaml.cs

@ -12,7 +12,7 @@
</Window.Resources> </Window.Resources>
<DockPanel> <DockPanel>
<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Left"> <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Left">
<TextBlock Text="v0.3.1" Margin="0,0,30,0" VerticalAlignment="Top" /> <TextBlock Text="v0.3.2" Margin="0,0,30,0" VerticalAlignment="Top" />
<TextBlock Text="GitHub" MouseUp="TextBlock_MouseUp" Cursor="Hand" Foreground="Blue" TextDecorations="Underline" VerticalAlignment="Top" /> <TextBlock Text="GitHub" MouseUp="TextBlock_MouseUp" Cursor="Hand" Foreground="Blue" TextDecorations="Underline" VerticalAlignment="Top" />
</StackPanel> </StackPanel>
<DockPanel Margin="5" DockPanel.Dock="Top"> <DockPanel Margin="5" DockPanel.Dock="Top">

@ -125,10 +125,12 @@ namespace rabi_splitter_WPF
if ((musicid == 45 || musicid == 46 || musicid == 53) && mainContext.AutoReset) if ((musicid == 45 || musicid == 46 || musicid == 53) && mainContext.AutoReset)
{ {
DebugLog("Title music, reset");
//reset //reset
sendreset(); sendreset();
mainContext.AliusI = true; mainContext.AliusI = true;
mainContext.Noah1Reload = false; mainContext.Noah1Reload = false;
mainContext.bossbattle = false;
} }
else else

Loading…
Cancel
Save