mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 14:42:05 +00:00
SERVER: Allow door_nzp_cost to spawn a trigger field with targetname
This commit is contained in:
parent
6a955e322d
commit
31fcb8270e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue