mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 21:45:33 +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);
|
MWWorld::Ptr ptr = R()(runtime);
|
||||||
|
|
||||||
|
if (!ptr.getRefData().isEnabled())
|
||||||
|
return;
|
||||||
|
|
||||||
MWBase::Environment::get().getDialogueManager()->startDialogue (ptr);
|
MWBase::Environment::get().getDialogueManager()->startDialogue (ptr);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue