//Doubles the player's bet, deals one more card, //and then stands. public IEnumerator DoubleDown() { player.DoubleBet(); yield return(StartCoroutine(DealCardToPlayer())); yield return(new WaitForSeconds(0.5f)); if (player.GetHandValue() > 21 && !player.CheckAces()) { StartCoroutine(React(blackjackUIScript.Result.PlayerBust)); } else { StartCoroutine(Stand()); } }