mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +00:00
Make forcegreeting no-op for disabled references (Fixes #2093)
This commit is contained in:
parent
29c9b6bd01
commit
a4d0068e29
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ namespace MWScript
|
|||
{
|
||||
MWWorld::Ptr ptr = R()(runtime);
|
||||
|
||||
if (!ptr.getRefData().isEnabled())
|
||||
return;
|
||||
|
||||
MWBase::Environment::get().getDialogueManager()->startDialogue (ptr);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue