mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-04-10 09:46:57 +00:00
feat: fix go outside and play mission (#1967)
* feat: fix go outside and play mission * Update dWorldServer/WorldServer.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update dGame/dComponents/MissionComponent.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * const --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -1115,6 +1115,12 @@ void HandlePacket(Packet* packet) {
|
||||
case eCharacterVersion::PET_IDS: {
|
||||
LOG("Regenerating item ids");
|
||||
inventoryComponent->RegenerateItemIDs();
|
||||
levelComponent->SetCharacterVersion(eCharacterVersion::INVENTORY_PERSISTENT_IDS);
|
||||
[[fallthrough]];
|
||||
}
|
||||
case eCharacterVersion::INVENTORY_PERSISTENT_IDS: {
|
||||
LOG("Fixing racing meta missions");
|
||||
missionComponent->FixRacingMetaMissions();
|
||||
levelComponent->SetCharacterVersion(eCharacterVersion::UP_TO_DATE);
|
||||
[[fallthrough]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user