busfahrer letzte runde fehler behoben
This commit is contained in:
@@ -179,8 +179,6 @@ namespace Casino
|
|||||||
MessageBoxButton.OK,
|
MessageBoxButton.OK,
|
||||||
MessageBoxImage.Information);
|
MessageBoxImage.Information);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
//Colin Langer
|
//Colin Langer
|
||||||
// lädt und mischt die karten aus der datenbank
|
// lädt und mischt die karten aus der datenbank
|
||||||
@@ -214,7 +212,6 @@ namespace Casino
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Colin Langer
|
//Colin Langer
|
||||||
|
|
||||||
private void UpdateHandUI()
|
private void UpdateHandUI()
|
||||||
{
|
{
|
||||||
Bild_1.Source = cardBackImage;
|
Bild_1.Source = cardBackImage;
|
||||||
@@ -315,24 +312,13 @@ namespace Casino
|
|||||||
UpdateWinDisplay();
|
UpdateWinDisplay();
|
||||||
SetPhaseUI();
|
SetPhaseUI();
|
||||||
|
|
||||||
// Vierte Frage richtig -> automatisch auszahlen
|
|
||||||
if (currentPhase == 4)
|
if (currentPhase == 4)
|
||||||
{
|
{
|
||||||
roundRunning = false;
|
roundRunning = false;
|
||||||
|
|
||||||
PayoutCurrentProfit();
|
PayoutCurrentProfit();
|
||||||
|
|
||||||
await Task.Delay(1000);
|
ShowWaitingState();
|
||||||
|
|
||||||
// Neue Runde automatisch starten
|
|
||||||
if (currentBet <= CurrentUser.Geld)
|
|
||||||
{
|
|
||||||
StartRound();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
ShowWaitingState();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Colin Langer
|
//Colin Langer
|
||||||
@@ -600,4 +586,4 @@ namespace Casino
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user