Eluna fix error report message expected type

This commit is contained in:
Rochet2
2014-03-24 11:44:41 +02:00
committed by Foereaper
parent dfe42475a0
commit 517cd62b51

View File

@@ -246,7 +246,7 @@ public:
{
if (error)
{
std::string errmsg(ElunaTemplate<Unit>::tname);
std::string errmsg(ElunaTemplate<T>::tname);
errmsg += " expected";
luaL_argerror(L, narg, errmsg.c_str());
}