mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
removed debugging logs
This commit is contained in:
parent
2e6e9d729f
commit
6c9e4872d7
@ -35,13 +35,10 @@ namespace NewHorizons.Builder.Props
|
||||
|
||||
public static void FinishPairingNodesForDimension(string dimensionName, AstroObject dimensionAO = null)
|
||||
{
|
||||
Logger.Log("finishing paring nodes for dimension " + dimensionName);
|
||||
if (!unpairedNodes.ContainsKey(dimensionName)) return;
|
||||
|
||||
Logger.Log("continuing to paring nodes for dimension " + dimensionName);
|
||||
foreach (var nodeWarpController in unpairedNodes[dimensionName])
|
||||
{
|
||||
Logger.Log(". paring node for dimension" + dimensionName);
|
||||
PairEntrance(nodeWarpController, dimensionName, dimensionAO);
|
||||
}
|
||||
|
||||
@ -52,7 +49,6 @@ namespace NewHorizons.Builder.Props
|
||||
{
|
||||
if (!unpairedNodes.ContainsKey(linksTo)) unpairedNodes[linksTo] = new();
|
||||
|
||||
Logger.Log("recording entrance for " + linksTo);
|
||||
unpairedNodes[linksTo].Add(warpVolume);
|
||||
}
|
||||
|
||||
@ -136,7 +132,6 @@ namespace NewHorizons.Builder.Props
|
||||
|
||||
private static bool PairEntrance(InnerFogWarpVolume nodeWarp, string destinationName, AstroObject dimensionAO = null)
|
||||
{
|
||||
Logger.Log("Attempting to pair entrance to " + destinationName);
|
||||
var destinationAO = dimensionAO ?? AstroObjectLocator.GetAstroObject(destinationName); // find child "Sector/OuterWarp"
|
||||
if (destinationAO == null) return false;
|
||||
|
||||
@ -144,7 +139,6 @@ namespace NewHorizons.Builder.Props
|
||||
var destination = GetOuterFogWarpVolumeFromAstroObject(destinationAO.gameObject);
|
||||
if (destination == null) return false;
|
||||
|
||||
Logger.Log("Pairing entrance to " + destinationName);
|
||||
nodeWarp._linkedOuterWarpVolume = destination;
|
||||
destination.RegisterSenderWarp(nodeWarp);
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user