diff --git a/apps/openmw-mp/Cells.cpp b/apps/openmw-mp/Cells.cpp index 626baa82c..fc8866e68 100644 --- a/apps/openmw-mp/Cells.cpp +++ b/apps/openmw-mp/Cells.cpp @@ -14,7 +14,7 @@ using namespace std; void Cells::Init(LuaState &lua) { lua.getState()->new_usertype("Cell", - "cell", sol::property(&Cells::getCell, &Cells::setCell), + "description", sol::property(&Cells::getCell, &Cells::setCell), "getExterior", &Cells::getExterior, "setExterior", &Cells::setExterior, "getRegion", &Cells::getRegion, diff --git a/apps/openmw-mp/Script/LuaState.cpp b/apps/openmw-mp/Script/LuaState.cpp index f2d3e394e..6a4e796af 100644 --- a/apps/openmw-mp/Script/LuaState.cpp +++ b/apps/openmw-mp/Script/LuaState.cpp @@ -72,6 +72,7 @@ LuaState::LuaState() cmdCtrl = make_unique(); Player::Init(*this); + Cells::Init(*this); CharClass::Init(*this); Inventory::Init(*this); GameSettings::Init(*this);