From be37d1708f417701017f5551ad3ad06a2a0cd2a9 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 13 Mar 2017 15:15:31 +1000 Subject: [PATCH] Delay triggering with the created trigger, to reduce the spam a little --- qcsrc/common/monsters/sv_spawner.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/common/monsters/sv_spawner.qc b/qcsrc/common/monsters/sv_spawner.qc index 7e7f13561..91d221c5b 100644 --- a/qcsrc/common/monsters/sv_spawner.qc +++ b/qcsrc/common/monsters/sv_spawner.qc @@ -45,6 +45,9 @@ void spawner_trigger_touch(entity this, entity toucher) { if(!toucher.iscreature || IS_DEAD(toucher) || toucher.health < 1) return; // only players + if(time < this.door_finished) + return; + this.door_finished = time + 1; spawner_use(this.owner, toucher, this); } -- 2.39.2