fix(Scripts/Karazhan): make it so door closes when Big Bad Wolf is engaged in Little Red Riding Hood in the Opera (#17172)

* initial

* not a boolean
This commit is contained in:
Dan
2023-09-03 14:44:13 +02:00
committed by GitHub
parent 4ce43d3f1f
commit 4886dac963
2 changed files with 5 additions and 1 deletions

View File

@@ -192,7 +192,10 @@ public:
}
break;
case 8:
instance->DoUseDoorOrButton(instance->GetGuidData(DATA_GO_STAGEDOORLEFT));
if (m_uiEventId != EVENT_HOOD) // in red riding hood door should close when gossip with grandma is over
{
instance->DoUseDoorOrButton(instance->GetGuidData(DATA_GO_STAGEDOORLEFT));
}
PerformanceReady = true;
break;
case 9: