From da27e8dc78e05157a7fea209debbb7c587e7221e Mon Sep 17 00:00:00 2001 From: xLuxy <67131061+xLuxy@users.noreply.github.com> Date: Sun, 24 Sep 2023 09:51:32 +0200 Subject: [PATCH] client: fix build --- client/src/namespaces/EventsNamespace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/namespaces/EventsNamespace.cpp b/client/src/namespaces/EventsNamespace.cpp index 21469f2c1..ea74dafac 100644 --- a/client/src/namespaces/EventsNamespace.cpp +++ b/client/src/namespaces/EventsNamespace.cpp @@ -71,7 +71,7 @@ static void EmitServerRPC(js::FunctionContext& ctx) alt::MValueArgs args; - for(int i = 0; i < arr.Length; ++i) + for(int i = 0; i < arr.Length(); ++i) { alt::MValue val; if(!arr.Get(i, val)) continue;