mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
Make forcegreeting no-op for disabled references (Fixes #2093)
This commit is contained in:
parent
29c9b6bd01
commit
a4d0068e29
@ -125,6 +125,9 @@ namespace MWScript
|
||||
{
|
||||
MWWorld::Ptr ptr = R()(runtime);
|
||||
|
||||
if (!ptr.getRefData().isEnabled())
|
||||
return;
|
||||
|
||||
MWBase::Environment::get().getDialogueManager()->startDialogue (ptr);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user