r2635 - trunk/data/qcsrc/server
savagex at icculus.org
savagex at icculus.org
Sun May 20 15:48:08 EDT 2007
Author: savagex
Date: 2007-05-20 15:48:07 -0400 (Sun, 20 May 2007)
New Revision: 2635
Modified:
trunk/data/qcsrc/server/assault.qc
Log:
only fire target_objective_decrease *once*
Modified: trunk/data/qcsrc/server/assault.qc
===================================================================
--- trunk/data/qcsrc/server/assault.qc 2007-05-20 15:55:31 UTC (rev 2634)
+++ trunk/data/qcsrc/server/assault.qc 2007-05-20 19:48:07 UTC (rev 2635)
@@ -93,6 +93,9 @@
// decrease the health of targeted objectives
void assault_objective_decrease_use() {
+ if(self.cnt > 0)
+ return;
+
if(activator.team != assault_attacker_team)
return;
More information about the nexuiz-commits
mailing list