add the delay back out of fear

This commit is contained in:
JohnCorby 2022-07-21 16:51:57 -07:00
parent 93e35ddc97
commit 882b5c4571

View File

@ -274,6 +274,8 @@ namespace NewHorizons.Handlers
}
if (body.Config.removeChildren != null)
{
Delay.FireInNUpdates(() =>
{
var goPath = go.transform.GetPath();
var transforms = go.GetComponentsInChildren<Transform>(true);
@ -291,6 +293,7 @@ namespace NewHorizons.Handlers
if (flag) Logger.LogWarning($"Couldn't find \"{childPath}\".");
}
}, 2);
}
// Do stuff that's shared between generating new planets and updating old ones