summaryrefslogtreecommitdiffstats
path: root/src/scripting
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-04-13 23:14:39 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-05-08 14:02:50 +0200
commitfe26d911ca35fb6d4f886567d3c0e8f03120f4ef (patch)
tree06a239f74c1a00124e5e91646b7d1d5dd797f427 /src/scripting
parent708896008ad8ea391d542ce37b9871318a84fb97 (diff)
downloadmanaserv-fe26d911ca35fb6d4f886567d3c0e8f03120f4ef.tar.gz
manaserv-fe26d911ca35fb6d4f886567d3c0e8f03120f4ef.tar.xz
manaserv-fe26d911ca35fb6d4f886567d3c0e8f03120f4ef.zip
[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.
Diffstat (limited to 'src/scripting')
-rw-r--r--src/scripting/lua.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}