|
@@ -64,11 +64,13 @@ class MapProc {
|
|
|
|
|
|
$mapid = explode('_', $unlockStr)[0];
|
|
|
if (!StlUtil::dictHasProperty($newMap->unlockMapTypeList, $mapid)) {
|
|
|
- $newMap->unlockMapTypeList->$mapid = array();
|
|
|
+ $newMap->unlockMapTypeList->$mapid = array();
|
|
|
}
|
|
|
$newMap->unlockMapTypeList->$mapid[] = $unlockStr;
|
|
|
-
|
|
|
- $explorerNum = self::countFootHoldExplorerNum($mapid, $newMap);
|
|
|
+
|
|
|
+ my_Assert(StlUtil::dictHasProperty($newMap->unlockedFootholds,$mapid), ErrCode::map_Unlocked);
|
|
|
+
|
|
|
+ $explorerNum = self::countFootHoldExplorerNum($mapid, $newMap);
|
|
|
$newMap->unlockedFootholds->$mapid->curExploreProgress = $explorerNum;
|
|
|
|
|
|
$type = explode('_', $unlockStr)[1];
|