mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
fix looping of obsolete effects builder method
oopsie daisies. this only affected dreamstalker lol.
This commit is contained in:
parent
02b4c2b522
commit
8a789b2ae2
@ -59,11 +59,11 @@ namespace NewHorizons.Builder.Atmosphere
|
||||
// Dreamstalker needed this one
|
||||
[Obsolete]
|
||||
public static void Make(GameObject planetGO, Sector sector, PlanetConfig config, float surfaceHeight)
|
||||
=> Make(planetGO, sector, config, surfaceHeight);
|
||||
=> InternalMake(planetGO, sector, config, surfaceHeight);
|
||||
#endregion
|
||||
|
||||
public static void Make(GameObject planetGO, Sector sector, PlanetConfig config)
|
||||
=> Make(planetGO, sector, config, null);
|
||||
=> InternalMake(planetGO, sector, config, null);
|
||||
|
||||
/// <summary>
|
||||
/// Nullable surface height for backwards compat
|
||||
@ -72,7 +72,7 @@ namespace NewHorizons.Builder.Atmosphere
|
||||
/// <param name="sector"></param>
|
||||
/// <param name="config"></param>
|
||||
/// <param name="surfaceHeight"></param>
|
||||
private static void Make(GameObject planetGO, Sector sector, PlanetConfig config, float? surfaceHeight)
|
||||
private static void InternalMake(GameObject planetGO, Sector sector, PlanetConfig config, float? surfaceHeight)
|
||||
{
|
||||
InitPrefabs();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user