Core/Scripts: Include cleanup
This commit is contained in:
@@ -1439,7 +1439,7 @@ class spell_gen_dungeon_credit : public SpellScriptLoader
|
||||
_handled = true;
|
||||
Unit* caster = GetCaster();
|
||||
if (InstanceScript* instance = caster->GetInstanceScript())
|
||||
instance->UpdateEncounterState(ENCOUNTER_CREDIT_CAST_SPELL, GetSpellInfo()->Id, caster);
|
||||
instance->UpdateEncounterStateForSpellCast(GetSpellInfo()->Id, caster);
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
Reference in New Issue
Block a user