fix(Scripts/ShadowLabyrinth): guard null attacker in Murmur DamageTaken (#26141)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Andrew
2026-06-10 21:01:28 -03:00
committed by GitHub
parent eb168e9f28
commit 4f777aa0b4

View File

@@ -120,7 +120,7 @@ struct boss_murmur : public BossAI
{
BossAI::DamageTaken(attacker, damage, damagetype, damageSchoolMask);
if (!me->GetVictim() && attacker->IsControlledByPlayer())
if (attacker && !me->GetVictim() && attacker->IsControlledByPlayer())
AttackStart(attacker);
}