Core/VMaps: Fixes getting no area/zone info, which caused you to be dismounted.

This commit is contained in:
hondacrx
2022-06-23 15:55:45 -04:00
parent 9f77e39899
commit 0f655d09ca
7 changed files with 16 additions and 17 deletions
+2 -2
View File
@@ -8333,7 +8333,7 @@ namespace Game
TerrainSwapInfo terrainSwapInfo = _terrainSwapInfoById[terrainSwap];
terrainSwapInfo.Id = terrainSwap;
_terrainSwapInfoByMap[mapId].Add(terrainSwapInfo);
_terrainSwapInfoByMap.Add(mapId, terrainSwapInfo);
++count;
} while (result.NextRow());
@@ -8379,7 +8379,7 @@ namespace Game
PhaseInfoStruct phase = getOrCreatePhaseIfMissing(phaseId);
phase.Areas.Add(area);
_phaseInfoByArea[area].Add(new PhaseAreaInfo(phase));
_phaseInfoByArea.Add(area, new PhaseAreaInfo(phase));
++count;
} while (result.NextRow());