]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
small fix for target_speaker
authorRudolf Polzer <divverent@xonotic.org>
Sat, 8 Oct 2011 18:02:24 +0000 (20:02 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 8 Oct 2011 18:02:24 +0000 (20:02 +0200)
qcsrc/server/g_triggers.qc

index 6407cefaa901351ada791a7e5e2dffb084d0fb18..19442cd6c23fbc9a40ec3b36154bba27faa8d157 100644 (file)
@@ -1642,7 +1642,7 @@ void spawnfunc_trigger_multivibrator()
        self.state = 0;
        self.use = multivibrator_toggle;
        self.think = multivibrator_send;
-       self.nextthink = time;
+       self.nextthink = max(1, time);
 
        IFTARGETED
                multivibrator_reset();