forked from teamnwah/openmw-tes3coop
[Server] Rename property cell into description, initialize Cells type
This commit is contained in:
parent
5653d07c7b
commit
71c921faa7
2 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,7 @@ using namespace std;
|
|||
void Cells::Init(LuaState &lua)
|
||||
{
|
||||
lua.getState()->new_usertype<Cells>("Cell",
|
||||
"cell", sol::property(&Cells::getCell, &Cells::setCell),
|
||||
"description", sol::property(&Cells::getCell, &Cells::setCell),
|
||||
"getExterior", &Cells::getExterior,
|
||||
"setExterior", &Cells::setExterior,
|
||||
"getRegion", &Cells::getRegion,
|
||||
|
|
|
@ -72,6 +72,7 @@ LuaState::LuaState()
|
|||
|
||||
cmdCtrl = make_unique<CommandController>();
|
||||
Player::Init(*this);
|
||||
Cells::Init(*this);
|
||||
CharClass::Init(*this);
|
||||
Inventory::Init(*this);
|
||||
GameSettings::Init(*this);
|
||||
|
|
Loading…
Reference in a new issue