mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Added missing semicolon
This commit is contained in:
parent
a8c4641743
commit
1fa4664b34
@ -144,7 +144,7 @@ namespace NewHorizons
|
|||||||
{
|
{
|
||||||
var planet = Main.BodyDict[Main.Instance.CurrentStarSystem].Find((b) => b.Config.name == bodyName);
|
var planet = Main.BodyDict[Main.Instance.CurrentStarSystem].Find((b) => b.Config.name == bodyName);
|
||||||
if (planet == null){
|
if (planet == null){
|
||||||
NHLogger.LogError($"Could not find planet with body name {bodyName}.")
|
NHLogger.LogError($"Could not find planet with body name {bodyName}.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return QueryJson(outType, Path.Combine(planet.Mod.ModHelper.Manifest.ModFolderPath, planet.RelativePath), jsonPath);
|
return QueryJson(outType, Path.Combine(planet.Mod.ModHelper.Manifest.ModFolderPath, planet.RelativePath), jsonPath);
|
||||||
@ -163,6 +163,7 @@ namespace NewHorizons
|
|||||||
public object QuerySystem(Type outType, string jsonPath)
|
public object QuerySystem(Type outType, string jsonPath)
|
||||||
{
|
{
|
||||||
var system = Main.SystemDict[Main.Instance.CurrentStarSystem];
|
var system = Main.SystemDict[Main.Instance.CurrentStarSystem];
|
||||||
|
NHLogger.Log("System Relative Path: " + system.RelativePath);
|
||||||
return system == null
|
return system == null
|
||||||
? null
|
? null
|
||||||
: QueryJson(outType, Path.Combine(system.Mod.ModHelper.Manifest.ModFolderPath, system.RelativePath), jsonPath);
|
: QueryJson(outType, Path.Combine(system.Mod.ModHelper.Manifest.ModFolderPath, system.RelativePath), jsonPath);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user