mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-10 02:16:37 +02:00
fix bug where purchases always succeeded
This commit is contained in:
@@ -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 " +
|
||||
|
Reference in New Issue
Block a user