mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
add the delay back out of fear
This commit is contained in:
parent
93e35ddc97
commit
882b5c4571
@ -274,6 +274,8 @@ namespace NewHorizons.Handlers
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (body.Config.removeChildren != null)
|
if (body.Config.removeChildren != null)
|
||||||
|
{
|
||||||
|
Delay.FireInNUpdates(() =>
|
||||||
{
|
{
|
||||||
var goPath = go.transform.GetPath();
|
var goPath = go.transform.GetPath();
|
||||||
var transforms = go.GetComponentsInChildren<Transform>(true);
|
var transforms = go.GetComponentsInChildren<Transform>(true);
|
||||||
@ -291,6 +293,7 @@ namespace NewHorizons.Handlers
|
|||||||
|
|
||||||
if (flag) Logger.LogWarning($"Couldn't find \"{childPath}\".");
|
if (flag) Logger.LogWarning($"Couldn't find \"{childPath}\".");
|
||||||
}
|
}
|
||||||
|
}, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do stuff that's shared between generating new planets and updating old ones
|
// Do stuff that's shared between generating new planets and updating old ones
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user