mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-12 02:58:32 +00:00
fix: racing meta missions and undefined behavior in mission progression
Tested that missions can still be completed Tested that racing meta tasks are now actually possible TODO: Tested that old characters with incomplete meta missions are brought up to speed with their current progress
This commit is contained in:
@@ -1118,6 +1118,11 @@ void HandlePacket(Packet* packet) {
|
||||
levelComponent->SetCharacterVersion(eCharacterVersion::UP_TO_DATE);
|
||||
[[fallthrough]];
|
||||
}
|
||||
case eCharacterVersion::INVENTORY_PERSISTENT_IDS: {
|
||||
LOG("Fixing racing meta missions");
|
||||
missionComponent->FixRacingMetaMissions();
|
||||
[[fallthrough]];
|
||||
}
|
||||
case eCharacterVersion::UP_TO_DATE:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user