Fix constrictor hunt ship script for some unusual cases
This commit is contained in:
parent
26420402a0
commit
aa5e137f18
@ -68,7 +68,8 @@ this.shipSpawned = function ()
|
|||||||
|
|
||||||
this.shipDied = function (killer)
|
this.shipDied = function (killer)
|
||||||
{
|
{
|
||||||
if (killer.isPlayer)
|
// check mission variable, just in case
|
||||||
|
if (killer && killer.isPlayer && missionVariables.conhunt === "STAGE_1")
|
||||||
{
|
{
|
||||||
missionVariables.conhunt = "CONSTRICTOR_DESTROYED";
|
missionVariables.conhunt = "CONSTRICTOR_DESTROYED";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user