fix(Script/ScarletEnclave) Acherus Soul Prisons now reset properly. (#22496)
Co-authored-by: Takenbacon <revoke1336@live.com>
This commit is contained in:
parent
f5ee400be2
commit
9f5b56ac86
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue