mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-10-05 08:56:40 +00:00
[General] Lower priority of WorldRegionAuthority packets
Previously, sending a PlayerCellChange packet and a WorldRegionAuthority packet to the player at the same time made the latter arrive first even if the former was intended by a server script to arrive first.
This commit is contained in:
parent
0137772e64
commit
17ee3d54e4
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@
|
||||||
mwmp::PacketWorldRegionAuthority::PacketWorldRegionAuthority(RakNet::RakPeerInterface *peer) : WorldstatePacket(peer)
|
mwmp::PacketWorldRegionAuthority::PacketWorldRegionAuthority(RakNet::RakPeerInterface *peer) : WorldstatePacket(peer)
|
||||||
{
|
{
|
||||||
packetID = ID_WORLD_REGION_AUTHORITY;
|
packetID = ID_WORLD_REGION_AUTHORITY;
|
||||||
priority = IMMEDIATE_PRIORITY;
|
// Make sure the priority is lower than PlayerCellChange's, so it doesn't get sent before it
|
||||||
|
priority = HIGH_PRIORITY;
|
||||||
reliability = RELIABLE_ORDERED;
|
reliability = RELIABLE_ORDERED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue