final commit for the fix to linux lua - fix #27

This commit is contained in:
Lion Kortlepel
2021-06-23 01:52:39 +02:00
parent 6cb19a7991
commit 6f3960d2c2

View File

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