From 6a0bd5c8d6172c3c897034924e8125054074136d Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 22 Sep 2001 06:53:00 +0000 Subject: [PATCH] detpacks are meant to nuke the map, not the server. This is the correct fix for the problem of detpacking a detpackable door resulting in the door not opening and the next player connect crashing the server. --- tfortmap.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfortmap.qc b/tfortmap.qc index 1b6fa39..bf16ecb 100644 --- a/tfortmap.qc +++ b/tfortmap.qc @@ -2086,7 +2086,7 @@ void(entity Goal, entity AP) DoTriggerWork = { t = find(t, targetname, Goal.killtarget); - if (t != world) + if (t != world && t != Goal) remove(t); } while ( t != world );