From 044b01447696ade845f0d36234a76570a0e25f21 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sat, 17 Jan 2015 15:05:11 +0200 Subject: [PATCH] Fix GetStandState Wrong return amount --- UnitMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitMethods.h b/UnitMethods.h index be0201e..2e1cfb7 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -523,7 +523,7 @@ namespace LuaUnit int GetStandState(Eluna* /*E*/, lua_State* L, Unit* unit) { Eluna::Push(L, unit->getStandState()); - return 0; + return 1; } int GetDisplayId(Eluna* /*E*/, lua_State* L, Unit* unit)