Permalink
Browse files

fix bug where purchases always succeeded

  • Loading branch information...
jacob1 committed Apr 1, 2018
1 parent 40d2850 commit 17c79f1661fec6d68064c3e67e1d07ccac75cfdd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/coin/CardInput.cpp
@@ -46,7 +46,7 @@ void CardInput::Next()
void CardInput::AttemptPurchase()
{
std::string error;
int num = 0;//rand()%100;
int num = rand()%100;
if (num < purchaseChance)
{
bool confirm = ConfirmPrompt::Blocking("Purchase \xEA""owdercoins?", "Clicking 'Confirm' will charge your card and add " +

0 comments on commit 17c79f1

Please sign in to comment.