mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-02 18:12:58 -04:00
Added logging for getGoodCityLocation - unknown issue.
This commit is contained in:
@@ -619,6 +619,11 @@ public class locations extends script.base_script
|
||||
}
|
||||
location locGoodLocation = new location();
|
||||
string_id strFictionalName = utils.unpackString(rgnCity.getName());
|
||||
if(strFictionalName == null)
|
||||
{
|
||||
LOG("mission_spam", "getGoodCityLocation was unable to get the Fictional name from rgnCity (" + rgnCity.getName() + ")");
|
||||
return null;
|
||||
}
|
||||
String strAsciiId = strFictionalName.getAsciiId();
|
||||
LOG("mission_spam", "strAsciiId is " + strAsciiId);
|
||||
int regionType = regions.getDeliverMissionRegionType(strAsciiId);
|
||||
|
||||
Reference in New Issue
Block a user