mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Update boss state load logic
Reset boss state to NOT_STARTED if state loads as FAIL
This commit is contained in:
@@ -398,7 +398,7 @@ void InstanceScript::ReadSaveDataBossStates(std::istringstream& data)
|
||||
{
|
||||
uint32 buff;
|
||||
data >> buff;
|
||||
if (buff == IN_PROGRESS || buff == SPECIAL)
|
||||
if (buff == IN_PROGRESS || buff == FAIL || buff == SPECIAL)
|
||||
buff = NOT_STARTED;
|
||||
|
||||
if (buff < TO_BE_DECIDED)
|
||||
|
||||
Reference in New Issue
Block a user