fix bug where purchases always succeeded

This commit is contained in:
jacob1 2018-03-31 22:44:15 -04:00
parent 40d2850ff7
commit 17c79f1661

View File

@ -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 " +