Fixed issue on Recovery space missions where ship aggro immunity time was incorrectly set on the player and not the ship.

This commit is contained in:
Cekis
2016-05-27 15:16:58 +01:00
parent 7b633ecd22
commit 7e343bb664
@@ -774,7 +774,8 @@ public class recovery extends script.base_script
space_quest._addMissionCriticalShip(player, self, newship);
setObjVar(newship, "objMissionOwner", player);
ship_ai.unitAddExclusiveAggro(newship, player);
ship_ai.unitSetAutoAggroImmuneTime(player, 3.0f);
ship_ai.unitSetAutoAggroImmuneTime(newship, 3.0f);
//ship_ai.unitSetAutoAggroImmuneTime(player, 3.0f);
setObjVar(newship, "wave", wavenum);
j++;
if (j >= shipList.length)