fix(Script/ScarletEnclave) Acherus Soul Prisons now reset properly. (#22496)

Co-authored-by: Takenbacon <revoke1336@live.com>
This commit is contained in:
Rocco Silipo
2025-07-16 10:22:00 +02:00
committed by GitHub
parent f5ee400be2
commit 9f5b56ac86

View File

@@ -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;