mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
silly error
This commit is contained in:
parent
aedeb80f16
commit
375a18e401
@ -949,7 +949,13 @@ namespace NewHorizons.Handlers
|
|||||||
{
|
{
|
||||||
flag = false;
|
flag = false;
|
||||||
// idk why we wait here but we do
|
// idk why we wait here but we do
|
||||||
Delay.FireInNUpdates(() => childObj.gameObject.SetActive(false), 2);
|
Delay.FireInNUpdates(() =>
|
||||||
|
{
|
||||||
|
if (childObj != null && childObj.gameObject != null)
|
||||||
|
{
|
||||||
|
childObj.gameObject.SetActive(false);
|
||||||
|
}
|
||||||
|
}, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flag) NHLogger.LogWarning($"Couldn't find \"{childPath}\".");
|
if (flag) NHLogger.LogWarning($"Couldn't find \"{childPath}\".");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user