From fe26d911ca35fb6d4f886567d3c0e8f03120f4ef Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Sat, 13 Apr 2013 23:14:39 +0200 Subject: [Abilities] Renamed set to category On the one hand setSetName and setName could sound misleading in the qt client patch i plan. On the otherhand i never really liked the name "set". I think category is more general and obvious. --- src/scripting/lua.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scripting') diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp index b9ccaf5..d5831d6 100644 --- a/src/scripting/lua.cpp +++ b/src/scripting/lua.cpp @@ -3021,7 +3021,7 @@ static int abilityinfo_on_recharged(lua_State *s) static int abilitiyinfo_get_category(lua_State *s) { AbilityManager::AbilityInfo *info = LuaAbilityInfo::check(s, 1); - push(s, info->setName); + push(s, info->categoryName); return 1; } -- cgit