mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Script/ScarletEnclave) Acherus Soul Prisons now reset properly. (#22496)
Co-authored-by: Takenbacon <revoke1336@live.com>
This commit is contained in:
@@ -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