mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-28 15:11:36 +00:00
Increase Lua API version
This commit is contained in:
parent
d9c91ff3d9
commit
f053188247
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue