From a97e30dfcc2b64f9978aa849d9a201052276132f Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Fri, 31 May 2019 21:40:04 +1000 Subject: [PATCH] fix funding goal bug --- gamemodes/irresistible/cnr/features/vip/redeem_code.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/features/vip/redeem_code.pwn b/gamemodes/irresistible/cnr/features/vip/redeem_code.pwn index fc1fba5..8b72e43 100644 --- a/gamemodes/irresistible/cnr/features/vip/redeem_code.pwn +++ b/gamemodes/irresistible/cnr/features/vip/redeem_code.pwn @@ -212,7 +212,7 @@ thread OnGrabLatestDonor( hidden ) new Float: funding_goal = GetServerVariableFloat( "donation_goal_amount" ); // make this optional - if ( funding_goal <= 0.0 ) { + if ( funding_goal > 0.0 ) { new Float: funding_goal_percent = total_donations / funding_goal * 100.0; // Prevents total revenue for the month being disclosed mathematically