From 4b3a1e07b3d271e393b4f558109da6ac7ac42e16 Mon Sep 17 00:00:00 2001 From: "NBTEMP\\bib" Date: Sat, 12 Sep 2026 18:08:25 +0200 Subject: [PATCH 1/2] merge --- Casino/Busfahrer.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Casino/Busfahrer.xaml.cs b/Casino/Busfahrer.xaml.cs index 91ae58b..5ab1f8a 100644 --- a/Casino/Busfahrer.xaml.cs +++ b/Casino/Busfahrer.xaml.cs @@ -288,7 +288,7 @@ namespace Casino PanelRedBlack.Visibility = Visibility.Collapsed; PanelHigherLower.Visibility = Visibility.Collapsed; PanelInsideOutside.Visibility = Visibility.Collapsed; - if (PanelSuit != null) PanelSuit.Visibility = Visibility.Collapsed; + PanelSuit.Visibility = Visibility.Collapsed; // Zeige den Auszahlungs-Button ab Runde 1 (nach dem ersten Gewinn) an BtnCashOut.Visibility = (currentPhase > 1 && currentPhase < 4) ? Visibility.Visible : Visibility.Collapsed; @@ -298,7 +298,7 @@ namespace Casino case 0: PanelRedBlack.Visibility = Visibility.Visible; break; case 1: PanelHigherLower.Visibility = Visibility.Visible; break; case 2: PanelInsideOutside.Visibility = Visibility.Visible; break; - case 3: if (PanelSuit != null) PanelSuit.Visibility = Visibility.Visible; break; + case 3: PanelSuit.Visibility = Visibility.Visible; break; } } From 049960d30de694397dcd5b713f87c11d776e21e3 Mon Sep 17 00:00:00 2001 From: "NBTEMP\\bib" Date: Sat, 12 Sep 2026 18:17:58 +0200 Subject: [PATCH 2/2] Busfahrer fix 2 --- Casino/Busfahrer.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Casino/Busfahrer.xaml.cs b/Casino/Busfahrer.xaml.cs index bfd9782..69abac8 100644 --- a/Casino/Busfahrer.xaml.cs +++ b/Casino/Busfahrer.xaml.cs @@ -178,6 +178,7 @@ namespace Casino currentProfit = 0; UpdateWinDisplay(); SetPhaseUI(); + StartNewGame(); return; }