mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Added manifest dependency
This commit is contained in:
parent
74230cba86
commit
f045294177
@ -160,9 +160,9 @@ namespace NewHorizons.Builder.General
|
|||||||
trackingOrbitSecondary.TrailTime = period;
|
trackingOrbitSecondary.TrailTime = period;
|
||||||
}
|
}
|
||||||
|
|
||||||
Helper.helper.Console.WriteLine($"{parent}: {mapping[parent]}");
|
Logger.Log($"{parent}: {mapping[parent]}");
|
||||||
Helper.helper.Console.WriteLine($"{primaryHB}: {mapping[primaryHB]}");
|
Logger.Log($"{primaryHB}: {mapping[primaryHB]}");
|
||||||
Helper.helper.Console.WriteLine($"{secondaryHB}: {mapping[secondaryHB]}");
|
Logger.Log($"{secondaryHB}: {mapping[secondaryHB]}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -174,13 +174,9 @@ namespace NewHorizons.Builder.General
|
|||||||
public static void Remove(AstroObject obj)
|
public static void Remove(AstroObject obj)
|
||||||
{
|
{
|
||||||
var astro = Position.find(obj);
|
var astro = Position.find(obj);
|
||||||
|
|
||||||
var mapping = Planet.defaultMapping;
|
var mapping = Planet.defaultMapping;
|
||||||
mapping.Remove(astro);
|
mapping.Remove(astro);
|
||||||
Planet.defaultMapping = mapping;
|
Planet.defaultMapping = mapping;
|
||||||
|
|
||||||
mapping = Planet.mapping;
|
|
||||||
mapping.Remove(astro);
|
|
||||||
Planet.mapping = mapping;
|
Planet.mapping = mapping;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -189,7 +189,7 @@ namespace NewHorizons
|
|||||||
existingPlanet = AstroObjectLocator.GetAstroObject(stringID).gameObject;
|
existingPlanet = AstroObjectLocator.GetAstroObject(stringID).gameObject;
|
||||||
if (existingPlanet == null) existingPlanet = AstroObjectLocator.GetAstroObject(body.Config.Name.Replace(" ", "")).gameObject;
|
if (existingPlanet == null) existingPlanet = AstroObjectLocator.GetAstroObject(body.Config.Name.Replace(" ", "")).gameObject;
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
existingPlanet = GameObject.Find(body.Config.Name.Replace(" ", "") + "_Body");
|
existingPlanet = GameObject.Find(body.Config.Name.Replace(" ", "") + "_Body");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,5 +4,6 @@
|
|||||||
"name": "New Horizons",
|
"name": "New Horizons",
|
||||||
"uniqueName": "xen.NewHorizons",
|
"uniqueName": "xen.NewHorizons",
|
||||||
"version": "0.3.1",
|
"version": "0.3.1",
|
||||||
"owmlVersion": "2.1.0"
|
"owmlVersion": "2.1.0",
|
||||||
|
"dependencies": [ "PacificEngine.OW_CommonResources" ]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user