mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
better error message for bramblor
This commit is contained in:
parent
e1a2bda4ba
commit
45c7971347
@ -113,6 +113,10 @@ namespace NewHorizons.Builder.Props
|
||||
if (dimension.Bramble.nodes == null) continue;
|
||||
foreach (var node in dimension.Bramble.nodes)
|
||||
{
|
||||
if (!dimensionNameToIndex.ContainsKey(node.linksTo))
|
||||
{
|
||||
NHLogger.LogError($"There is no bramble dimension named {node.linksTo}");
|
||||
}
|
||||
var destinationDimensionIndex = dimensionNameToIndex[node.linksTo];
|
||||
access[dimensionIndex, destinationDimensionIndex] = true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user