diff --git a/client/src/helpers/NativeInvoker.h b/client/src/helpers/NativeInvoker.h index 845851c05..07212c137 100644 --- a/client/src/helpers/NativeInvoker.h +++ b/client/src/helpers/NativeInvoker.h @@ -58,7 +58,7 @@ namespace js using CleanT = std::remove_pointer_t; CleanT value; - if(!isPointer && !ctx.GetArg(index, value)) return false; + if(!ctx.GetArg(index, value)) return false; if constexpr(isPointer) {