SERVER: Fix Tesla-based weapons not awarding Score

This commit is contained in:
MotoLegacy 2024-01-19 10:30:09 -05:00
parent 5f1f9fa8fa
commit 4741ffed2f

View file

@ -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 && arc_owner.aistatus == "1") {
if(arc_owner != world && hit_ent.aistatus == "1") {
arc_owner.tesla_n_kills += 1;
// 50 points for waffe kills