From ed6dd79b9bc245d42806092b7401ca28d27e496b Mon Sep 17 00:00:00 2001 From: Cekis Date: Mon, 30 Jan 2017 03:52:02 +0000 Subject: [PATCH] Added logging for getGoodCityLocation - unknown issue. --- sku.0/sys.server/compiled/game/script/library/locations.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sku.0/sys.server/compiled/game/script/library/locations.java b/sku.0/sys.server/compiled/game/script/library/locations.java index c0680576a..61fcdf5d6 100755 --- a/sku.0/sys.server/compiled/game/script/library/locations.java +++ b/sku.0/sys.server/compiled/game/script/library/locations.java @@ -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);