add missing parenthesis here lol

This commit is contained in:
JohnCorby 2022-09-30 19:49:04 -07:00
parent 63f87e4c6d
commit ecc51a32f3

View File

@ -119,7 +119,7 @@ namespace NewHorizons.Utility
var name = names.Last();
if (warn) Logger.LogWarning($"Couldn't find object in path {path}, will look for potential matches for name {name}");
// 3: find resource to include inactive objects (but skip prefabs
// 3: find resource to include inactive objects (but skip prefabs)
go = Resources.FindObjectsOfTypeAll<GameObject>()
.FirstOrDefault(x => x.name == name && x.scene.name != null);
if (go)