Fixed issue with tusken raider leaving socialization with another raider.

This commit is contained in:
Cekis
2017-01-20 00:53:01 +00:00
parent 36c3589f9e
commit 9da643b31d
@@ -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