Fixed issue where a bomber squadron leader could not taunt because it was being destroyed.

This commit is contained in:
Cekis
2016-05-29 07:09:18 +01:00
parent 23376b79b8
commit ef2f7b2418
@@ -1939,7 +1939,7 @@ public class combat_ship_player extends script.base_script
string_id sid = new string_id("space/space_interaction", "bomber_down");
prose_package pp = new prose_package();
pp.stringId = sid;
dogfightTauntPlayer(bomberSquaddyList[0], self, pp);
if(isIdValid(bomberSquaddyList[0]) && isIdValid(self)) dogfightTauntPlayer(bomberSquaddyList[0], self, pp);
return SCRIPT_CONTINUE;
}
public int bomberStrikeEscortUnitDestroyed(obj_id self, dictionary params) throws InterruptedException