Make error message slightly better.
This commit is contained in:
parent
5eff97fd46
commit
0a3f137fbf
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
|||
static SpellActionType *CclSpellAction(lua_State *l)
|
||||
{
|
||||
if (!lua_istable(l, -1)) {
|
||||
LuaError(l, "incorrect argument");
|
||||
LuaError(l, "expected a table of tables as spell action");
|
||||
}
|
||||
const int args = lua_rawlen(l, -1);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue