From 0a3f137fbf76c626d6493fe4e38b832972954906 Mon Sep 17 00:00:00 2001
From: Tim Felgentreff <timfelgentreff@gmail.com>
Date: Sun, 18 Sep 2016 16:15:22 +0200
Subject: [PATCH] Make error message slightly better.

---
 src/spell/script_spell.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/spell/script_spell.cpp b/src/spell/script_spell.cpp
index 597ffcc17..381d8dd71 100644
--- a/src/spell/script_spell.cpp
+++ b/src/spell/script_spell.cpp
@@ -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);