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