Fixed issue in Echo Base where quest would not update properly.

This commit is contained in:
Cekis
2018-03-23 16:01:09 -07:00
committed by CekisSWG
parent 6146642930
commit 31059396e5
@@ -6684,12 +6684,15 @@ public class utils extends script.base_script
return null;
}
location testLoc;
for (obj_id allObject : allObjects) {
testLoc = getLocation(trial.getTop(allObject));
for (obj_id obj : allObjects) {
testLoc = getLocation(trial.getTop(obj));
if(testLoc == null || !isValidLocation(testLoc, 1f)){
continue;
}
if (testLoc.x < x1 || testLoc.x > x2 || testLoc.z < z1 || testLoc.z > z2) {
continue;
}
objectsInArea.add(allObject);
objectsInArea.add(obj);
}
if (objectsInArea.size() == 0)
{