Please MSVC stop being so bad

This commit is contained in:
Lion Kortlepel
2021-09-20 00:46:13 +02:00
parent 323184911d
commit a97791d4ee

View File

@@ -205,7 +205,8 @@ sol::table TLuaEngine::StateThreadData::Lua_TriggerLocalEvent(const std::string&
if (FnRet.valid()) {
Result.add(FnRet);
} else {
beammp_lua_error(sol::error(FnRet).what());
sol::error Err = FnRet;
beammp_lua_error(Err.what());
}
}
}