fix(Scripts/BRD): Emperor should not yell when dead. (#12046)

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
This commit is contained in:
temperrr
2022-06-13 14:01:50 +02:00
committed by GitHub
parent 8e7c4fa226
commit d3b381c238

View File

@@ -80,7 +80,10 @@ public:
{
if (hasYelled < 5)
{
Talk(SenatorYells[hasYelled]);
if (me->IsAlive())
{
Talk(SenatorYells[hasYelled]);
}
}
hasYelled++;
}