mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 14:42:05 +00:00
SERVER: Prevent non-AI from triggering point-and-kill sequence for Tesla-based weapons
This commit is contained in:
parent
2ccd55a2b5
commit
68bfc0f695
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ void(entity hit_ent, entity arc_parent, entity arc_owner, float arc_num, float d
|
|||
self.state = self.hop_step = 0;
|
||||
}
|
||||
|
||||
if(arc_owner != world) {
|
||||
if(arc_owner != world && arc_owner.aistatus == "1") {
|
||||
arc_owner.tesla_n_kills += 1;
|
||||
|
||||
// 50 points for waffe kills
|
||||
|
|
Loading…
Reference in a new issue