mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 17:10:55 +00:00
SERVER: Potentially alleviate an issue where zombies could melee during actions they shouldn't be able to
This commit is contained in:
parent
723ccf852a
commit
eeab4dd4c2
1 changed files with 3 additions and 0 deletions
|
@ -885,6 +885,9 @@ void() zombie_attack =
|
|||
{
|
||||
self.velocity = '0 0 0';
|
||||
|
||||
if(self.state == 1) // If the zombie is in this state (rising, or something else) they shouldn't be able to attack!
|
||||
return;
|
||||
|
||||
if (self.classname == "wunder" || self.electro_targeted == true)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue