mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 02:30:54 +00:00
final commit for the fix to linux lua - fix #27
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user