diff --git a/source/client/GameController.cpp b/source/client/GameController.cpp index e3aa5e1967bad1f9440094bc52064f90b3436744..6cedcf909521a0c71848b277b5796c79a1f1be64 100644 --- a/source/client/GameController.cpp +++ b/source/client/GameController.cpp @@ -110,9 +110,9 @@ void GameController::makeBet() { return; } - if(_is_number(inputPlayerBet) && !inputPlayerBet.IsEmpty()){ + if(bet_int != 0){ std::string bet_string = inputPlayerBet.ToStdString(); - int bet_int = std::stoi(bet_string); + bet_int = std::stoi(bet_string); } // check to make sure this in a logical integer + ADD RECOVERY (SHOW BET PANEL AGAIN)