mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
remove unused string uniqueModName parameter
This commit is contained in:
parent
3fbddea8ca
commit
12edcea9ee
@ -114,7 +114,7 @@ namespace NewHorizons.Builder.Body
|
|||||||
{
|
{
|
||||||
foreach (var detailInfo in body.Config.Props.proxyDetails)
|
foreach (var detailInfo in body.Config.Props.proxyDetails)
|
||||||
{
|
{
|
||||||
DetailBuilder.Make(newProxy, null, body.Config, body.Mod, body.Mod.ModHelper.Manifest.UniqueName, detailInfo);
|
DetailBuilder.Make(newProxy, null, body.Config, body.Mod, detailInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@ namespace NewHorizons.Builder.Props
|
|||||||
return detailInfoToCorrespondingSpawnedGameObject[detail];
|
return detailInfoToCorrespondingSpawnedGameObject[detail];
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Make(GameObject go, Sector sector, PlanetConfig config, IModBehaviour mod, string uniqueModName, PropModule.DetailInfo detail)
|
public static void Make(GameObject go, Sector sector, PlanetConfig config, IModBehaviour mod, PropModule.DetailInfo detail)
|
||||||
{
|
{
|
||||||
GameObject detailGO = null;
|
GameObject detailGO = null;
|
||||||
|
|
||||||
|
|||||||
@ -8,13 +8,13 @@ namespace NewHorizons.Builder.Props
|
|||||||
{
|
{
|
||||||
public static class PropBuildManager
|
public static class PropBuildManager
|
||||||
{
|
{
|
||||||
public static void Make(GameObject go, Sector sector, OWRigidbody planetBody, PlanetConfig config, IModBehaviour mod, string uniqueModName)
|
public static void Make(GameObject go, Sector sector, OWRigidbody planetBody, PlanetConfig config, IModBehaviour mod)
|
||||||
{
|
{
|
||||||
if (config.Props.scatter != null)
|
if (config.Props.scatter != null)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ScatterBuilder.Make(go, sector, config, mod, uniqueModName);
|
ScatterBuilder.Make(go, sector, config, mod);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@ -27,7 +27,7 @@ namespace NewHorizons.Builder.Props
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
DetailBuilder.Make(go, sector, config, mod, uniqueModName, detail);
|
DetailBuilder.Make(go, sector, config, mod, detail);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -10,12 +10,12 @@ namespace NewHorizons.Builder.Props
|
|||||||
{
|
{
|
||||||
public static class ScatterBuilder
|
public static class ScatterBuilder
|
||||||
{
|
{
|
||||||
public static void Make(GameObject go, Sector sector, PlanetConfig config, IModBehaviour mod, string uniqueModName)
|
public static void Make(GameObject go, Sector sector, PlanetConfig config, IModBehaviour mod)
|
||||||
{
|
{
|
||||||
MakeScatter(go, config.Props.scatter, config.Base.surfaceSize, sector, mod, uniqueModName, config);
|
MakeScatter(go, config.Props.scatter, config.Base.surfaceSize, sector, mod, config);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void MakeScatter(GameObject go, PropModule.ScatterInfo[] scatterInfo, float radius, Sector sector, IModBehaviour mod, string uniqueModName, PlanetConfig config)
|
private static void MakeScatter(GameObject go, PropModule.ScatterInfo[] scatterInfo, float radius, Sector sector, IModBehaviour mod, PlanetConfig config)
|
||||||
{
|
{
|
||||||
var heightMap = config.HeightMap;
|
var heightMap = config.HeightMap;
|
||||||
|
|
||||||
|
|||||||
@ -464,7 +464,7 @@ namespace NewHorizons.Handlers
|
|||||||
|
|
||||||
if (body.Config.Props != null)
|
if (body.Config.Props != null)
|
||||||
{
|
{
|
||||||
PropBuildManager.Make(go, sector, rb, body.Config, body.Mod, body.Mod.ModHelper.Manifest.UniqueName);
|
PropBuildManager.Make(go, sector, rb, body.Config, body.Mod);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (body.Config.Signal != null)
|
if (body.Config.Signal != null)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user