mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 17:10:55 +00:00
SERVER: Prevent non-enemies from activating Bouncy Betty
This commit is contained in:
parent
cf1421b943
commit
925662c384
1 changed files with 2 additions and 1 deletions
|
@ -1449,7 +1449,8 @@ void() betty_do_rise =
|
|||
|
||||
void() betty_touch =
|
||||
{
|
||||
if (other.classname == "grenade")
|
||||
// Only trigger if an enemy is making contact.
|
||||
if (other.classname != "ai_zombie" && other.classname != "ai_dog")
|
||||
return;
|
||||
|
||||
if (other == self.owner || other.solid == SOLID_TRIGGER)
|
||||
|
|
Loading…
Reference in a new issue