1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Increase Lua API version

This commit is contained in:
Andrei Kortunov 2023-08-18 11:18:35 +04:00
parent d9c91ff3d9
commit f053188247

View File

@ -114,7 +114,7 @@ namespace MWLua
{
auto* lua = context.mLua;
sol::table api(lua->sol(), sol::create);
api["API_REVISION"] = 42;
api["API_REVISION"] = 43;
api["quit"] = [lua]() {
Log(Debug::Warning) << "Quit requested by a Lua script.\n" << lua->debugTraceback();
MWBase::Environment::get().getStateManager()->requestQuit();