mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Script/ScarletEnclave) Acherus Soul Prisons now reset properly. (#22496)
Co-authored-by: Takenbacon <[email protected]>
This commit is contained in:
co-authored by
Takenbacon
parent
f5ee400be2
commit
9f5b56ac86
@@ -711,8 +711,9 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (prison)
|
||||
// Must check for loot state as out of order updates will reset
|
||||
// the prison gameobject during spawn causing invalid state
|
||||
if (prison && prison->getLootState() != GO_NOT_READY)
|
||||
prison->ResetDoorOrButton();
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user