Core/WorldStates: Migrate pvp season worldstates to new system
This commit is contained in:
1 parent
ccff3af924
commit
d35f58a46d
5 files changed
+20
-5
No files matched your search
@@ -8774,10 +8774,6 @@ void Player::SendInitWorldStates(uint32 zoneId, uint32 areaId)
|
||||
packet.Worldstates.emplace_back(2260, 0); // 5
|
||||
packet.Worldstates.emplace_back(2259, 0); // 6
|
||||
|
||||
packet.Worldstates.emplace_back(3191, int32(sWorld->getBoolConfig(CONFIG_ARENA_SEASON_IN_PROGRESS) ? sWorld->getIntConfig(CONFIG_ARENA_SEASON_ID) : 0)); // 7 Current Season - Arena season in progress
|
||||
// 0 - End of season
|
||||
packet.Worldstates.emplace_back(3901, int32(sWorld->getIntConfig(CONFIG_ARENA_SEASON_ID) - sWorld->getBoolConfig(CONFIG_ARENA_SEASON_IN_PROGRESS))); // 8 PreviousSeason
|
||||
|
||||
SendDirectMessage(packet.Write());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user