diff --git a/PlayerMethods.h b/PlayerMethods.h index 0f162db..8cd3d65 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -235,7 +235,7 @@ namespace LuaPlayer bool honorable = Eluna::CHECKVAL(L, 2, true); Eluna::Push(L, player->GetHonorStoredKills(honorable)); - return 0; + return 1; } int GetRankPoints(Eluna* /*E*/, lua_State* L, Player* player) diff --git a/UnitMethods.h b/UnitMethods.h index 2e1cfb7..5313d70 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -1220,7 +1220,7 @@ namespace LuaUnit #else unit->SetControlled(apply, UNIT_STATE_CONFUSED); #endif - return 0; + return 0; } /** @@ -1699,7 +1699,7 @@ namespace LuaUnit float o = Eluna::CHECKVAL(L, 5); unit->NearTeleportTo(x, y, z, o); - return 1; + return 0; } /**