From 6d7ab9c35efa323d9b432276e7f71b277ce7d139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Borz=C3=AC?= Date: Wed, 2 Dec 2020 18:43:59 +0100 Subject: [PATCH] fix(ObjectMethods.h): GetUInt64Value return value (#340) --- ObjectMethods.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ObjectMethods.h b/ObjectMethods.h index 6bc89e5..409e200 100644 --- a/ObjectMethods.h +++ b/ObjectMethods.h @@ -226,8 +226,8 @@ namespace LuaObject int GetUInt64Value(lua_State* L, Object* obj) { uint16 index = Eluna::CHECKVAL(L, 2); - obj->GetUInt64Value(index); - return 0; + Eluna::Push(L, obj->GetUInt64Value(index)); + return 1; } /**