1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 22:45:34 +00:00

[Regression] Make sure unloaded objects can be opened

This commit is contained in:
Alexei Dobrohotov 2019-07-20 00:12:05 +03:00 committed by GitHub
parent 576285573b
commit facbb2e0db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ bool Objects::onOpen(const MWWorld::Ptr& ptr)
PtrControllerMap::iterator iter = mObjects.find(ptr);
if(iter != mObjects.end())
return iter->second->onOpen();
return false;
return true;
}
void Objects::onClose(const MWWorld::Ptr& ptr)