summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-15 22:28:56 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-15 22:28:56 +0200
commit3b122ba8903febe2509a0f3c1b340ed307843f60 (patch)
tree04eea50466360b939450a94dd6481d91e48098b9
parentac038aaf08d2c1047f2327ecaab17e84ca214015 (diff)
downloadmanaserv-3b122ba8903febe2509a0f3c1b340ed307843f60.tar.gz
manaserv-3b122ba8903febe2509a0f3c1b340ed307843f60.tar.xz
manaserv-3b122ba8903febe2509a0f3c1b340ed307843f60.zip
Fixed error message
Thanks to Ablu for noticing.
-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 8f4a051..660823f 100644
--- a/src/scripting/lua.cpp
+++ b/src/scripting/lua.cpp
@@ -1353,7 +1353,7 @@ static int entity_set_special_mana(lua_State *s)
if (!c->getComponent<CharacterComponent>()->setSpecialMana(special, mana))
{
luaL_error(s,
- "special_mana called with special "
+ "set_special_mana called with special "
"that is not owned by character.");
}
return 0;