From d4213197e9da3f9ea05fd87c583a1caa30af3111 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Fri, 30 Oct 2015 13:30:22 -0500 Subject: [PATCH] more script fixes --- .../sys.server/compiled/game/script/ai/ai.script | 2 +- .../game/script/ai/smuggler_buddy.script | 4 ++-- .../game/script/ai/smuggler_medic.script | 4 ++-- .../compiled/game/script/ai/spy_decoy.script | 4 ++-- .../missions/base/mission_dynamic_base.script | 16 ++++++++++++++++ 5 files changed, 23 insertions(+), 7 deletions(-) diff --git a/sku.0/sys.server/compiled/game/script/ai/ai.script b/sku.0/sys.server/compiled/game/script/ai/ai.script index 520937134..bc0d1ef51 100644 --- a/sku.0/sys.server/compiled/game/script/ai/ai.script +++ b/sku.0/sys.server/compiled/game/script/ai/ai.script @@ -1345,7 +1345,7 @@ trigger OnIncapacitated(obj_id attacker) { obj_id[] haters = getHateList(self); - if (haters != null || haters.length > 0) + if (haters.length > 0) { for(int i=0;i 0) + if (haters.length > 0) { for(int i=0;i 0) + if (haters.length > 0) { for(int i=0;i 0) + if (haters.length > 0) { for(int i=0;i