From 60860546d2940287ffaefd5572bcf72b4086e81a Mon Sep 17 00:00:00 2001 From: OlegT Date: Fri, 27 Dec 2024 12:34:42 +0300 Subject: [PATCH] ALTV-469 Fix build --- server/src/bindings/ConnectionInfo.cpp | 2 +- server/src/bindings/Player.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/bindings/ConnectionInfo.cpp b/server/src/bindings/ConnectionInfo.cpp index 9fdc98d5..4aed7ff3 100644 --- a/server/src/bindings/ConnectionInfo.cpp +++ b/server/src/bindings/ConnectionInfo.cpp @@ -37,7 +37,7 @@ static void HwId3Getter(v8::Local, const v8::PropertyCallbackInfoGetHwId3()); + V8_RETURN_STRING(con->GetHwid3()); } static void AuthTokenGetter(v8::Local, const v8::PropertyCallbackInfo& info) diff --git a/server/src/bindings/Player.cpp b/server/src/bindings/Player.cpp index b05217df..063527a1 100644 --- a/server/src/bindings/Player.cpp +++ b/server/src/bindings/Player.cpp @@ -222,7 +222,7 @@ static void HwId3Getter(v8::Local name, const v8::PropertyCallbackIn { V8_GET_ISOLATE(); V8_GET_THIS_BASE_OBJECT(_this, IPlayer); - V8_RETURN_STRING(_this->GetHwId3()); + V8_RETURN_STRING(_this->GetHwid3()); } static void SetClothes(const v8::FunctionCallbackInfo& info)