SERVER: Allow door_nzp_cost to spawn a trigger field with targetname

This commit is contained in:
cypress 2023-11-16 09:59:43 -05:00
parent 6a955e322d
commit 31fcb8270e

View file

@ -499,7 +499,7 @@ void() LinkDoors =
if (self.health)
return;
if (self.targetname)
if (self.targetname && self.classname != "door_nzp_cost")
return;
self.owner.trigger_field = spawn_field(cmins, cmaxs);