diff --git a/js/NativeGodotModule.ts b/js/NativeGodotModule.ts index 5e34c10..55f0ef8 100644 --- a/js/NativeGodotModule.ts +++ b/js/NativeGodotModule.ts @@ -83,6 +83,3 @@ export const RTNGodot = globalThis.RTNGodot as GodotModuleInterface; export function runOnGodotThread(f: () => T): Promise { console.log("Calling: runOnGodotThread"); - const worklet = f; - return globalThis.RTNGodot.runOnGodotThread(worklet); -}