fix(ObjectMethods.h): GetUInt64Value return value (#340)

This commit is contained in:
Francesco Borzì
2020-12-02 18:43:59 +01:00
committed by GitHub
parent f117491095
commit 6d7ab9c35e

View File

@@ -226,8 +226,8 @@ namespace LuaObject
int GetUInt64Value(lua_State* L, Object* obj)
{
uint16 index = Eluna::CHECKVAL<uint16>(L, 2);
obj->GetUInt64Value(index);
return 0;
Eluna::Push(L, obj->GetUInt64Value(index));
return 1;
}
/**