mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-31 00:15:54 -04:00
Prevented Jedi Bounty missions from failing under circumstances the Jedis location could not be found.
This commit is contained in:
Regular → Executable
+8
-3
@@ -620,9 +620,14 @@ public class mission_bounty extends script.systems.missions.base.mission_dynamic
|
||||
}
|
||||
else
|
||||
{
|
||||
location locDestination = locations.getBountyLocation(locSpawnLocation.area);
|
||||
setObjVar(self, "locDestination", locDestination);
|
||||
fltDelay = rand(100, 300);
|
||||
if(isValidLocation(locSpawnLocation, 1f)) {
|
||||
location locDestination = locations.getBountyLocation(locSpawnLocation.area);
|
||||
setObjVar(self, "locDestination", locDestination);
|
||||
fltDelay = rand(100, 300);
|
||||
}
|
||||
else{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user