Skip to content

Commit

Permalink
fix(natives): Fix wrong native ptr values
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Dec 20, 2023
1 parent d16e5aa commit 3b0f5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/helpers/NativeInvoker.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace js
using CleanT = std::remove_pointer_t<T>;

CleanT value;
if(!isPointer && !ctx.GetArg(index, value)) return false;
if(!ctx.GetArg(index, value)) return false;

if constexpr(isPointer)
{
Expand Down

0 comments on commit 3b0f5e0

Please sign in to comment.