From 2db4b8f4e02c516dd6eadcf3e979cbe22c742efb Mon Sep 17 00:00:00 2001 From: Dustin <97925087+HotWheelzCodez@users.noreply.github.com> Date: Sun, 15 Sep 2024 08:58:57 -0700 Subject: [PATCH] Update TypeScriptInternal.ts --- unreal/Puerts/PuertsEditor/TypeScriptInternal.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unreal/Puerts/PuertsEditor/TypeScriptInternal.ts b/unreal/Puerts/PuertsEditor/TypeScriptInternal.ts index 6a32e69589..28766bed4c 100644 --- a/unreal/Puerts/PuertsEditor/TypeScriptInternal.ts +++ b/unreal/Puerts/PuertsEditor/TypeScriptInternal.ts @@ -9,7 +9,9 @@ function some(array: ReadonlyArray | undefined, predicate?: (value: T) => if (!predicate) return array.length > 0; for (const value of array) { - if (predicate(value) return true; + if (predicate(value)) { + return true; + } } return false;