Fixed issue with tusken raider leaving socialization with another raider.

This commit is contained in:
Cekis
2018-03-23 15:58:54 -07:00
committed by CekisSWG
parent baadb9574e
commit 2dfde71db3
@@ -235,7 +235,8 @@ public class tusken_raider extends script.base_script
return SCRIPT_CONTINUE;
}
obj_id listener = utils.getObjIdScriptVar(self, "ai.pathingToSocialize");
endSocializing(self, listener);
if(listener != null)
endSocializing(self, listener);
return SCRIPT_CONTINUE;
}
public int OnMovePathNotFound(obj_id self) throws InterruptedException