mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-02 17:41:23 +00:00
Fix a search that should have been find
This commit is contained in:
parent
872d9be1b4
commit
e7a004824c
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ void MWWorld::LiveCellRefBase::loadImp (const ESM::ObjectState& state)
|
|||
std::string scriptId = mClass->getScript (ptr);
|
||||
|
||||
mData.setLocals (*MWBase::Environment::get().getWorld()->getStore().
|
||||
get<ESM::Script>().search (scriptId));
|
||||
get<ESM::Script>().find (scriptId));
|
||||
mData.getLocals().read (state.mLocals, scriptId);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue