diff --git a/src/TLuaFile.cpp b/src/TLuaFile.cpp index b520dcd..dd1d472 100644 --- a/src/TLuaFile.cpp +++ b/src/TLuaFile.cpp @@ -819,6 +819,7 @@ void TLuaArg::PushArgs(lua_State* State) { } else if (Type == typeid(double)) { lua_pushnumber(State, std::any_cast(arg)); } else { + // if this happens, implement a sane behavior for that value error("what in the hell is " + std::string(arg.type().name())); } }