mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 03:41:15 +00:00
SERVER: Prevent Players in Last Stand from activating Door Triggers
This commit is contained in:
parent
8abb8feeef
commit
8eb0eabb5d
1 changed files with 1 additions and 3 deletions
|
@ -332,7 +332,7 @@ void() door_use =
|
|||
|
||||
void() door_trigger_touch =
|
||||
{
|
||||
if(other.classname != "player")
|
||||
if(other.classname != "player" || other.downed)
|
||||
return;
|
||||
|
||||
if(cvar("waypoint_mode"))
|
||||
|
@ -400,8 +400,6 @@ void() door_touch =
|
|||
if (self.classname == "door" && self.targetname)
|
||||
return;
|
||||
|
||||
bprint(PRINT_HIGH, "hello..!\n");
|
||||
|
||||
if (isPowerOn == FALSE)
|
||||
{
|
||||
if (self.owner.spawnflags & DOOR_POWER)
|
||||
|
|
Loading…
Reference in a new issue