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; } /**