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.
This commit is contained in:
Bill Currie 2001-09-22 06:53:00 +00:00
parent 5300eb7a67
commit 6a0bd5c8d6

View file

@ -2086,7 +2086,7 @@ void(entity Goal, entity AP) DoTriggerWork =
{ {
t = find(t, targetname, Goal.killtarget); t = find(t, targetname, Goal.killtarget);
if (t != world) if (t != world && t != Goal)
remove(t); remove(t);
} while ( t != world ); } while ( t != world );