From 3b0f5e023cf3425e96b9326e440c7f82e1160476 Mon Sep 17 00:00:00 2001 From: xLuxy <67131061+xLuxy@users.noreply.github.com> Date: Wed, 20 Dec 2023 19:11:35 +0100 Subject: [PATCH] fix(natives): Fix wrong native ptr values --- client/src/helpers/NativeInvoker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {