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
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

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());
}
}
}