fix funding goal bug
This commit is contained in:
parent
618aedc841
commit
a97e30dfcc
@ -212,7 +212,7 @@ thread OnGrabLatestDonor( hidden )
|
|||||||
new Float: funding_goal = GetServerVariableFloat( "donation_goal_amount" );
|
new Float: funding_goal = GetServerVariableFloat( "donation_goal_amount" );
|
||||||
|
|
||||||
// make this optional
|
// make this optional
|
||||||
if ( funding_goal <= 0.0 ) {
|
if ( funding_goal > 0.0 ) {
|
||||||
new Float: funding_goal_percent = total_donations / funding_goal * 100.0;
|
new Float: funding_goal_percent = total_donations / funding_goal * 100.0;
|
||||||
|
|
||||||
// Prevents total revenue for the month being disclosed mathematically
|
// Prevents total revenue for the month being disclosed mathematically
|
||||||
|
Loading…
Reference in New Issue
Block a user