Skip to content

Commit

Permalink
Update LobbyManager.cs
Browse files Browse the repository at this point in the history
Changed order of processes when not entitled players list are sent to players with beatmaps
  • Loading branch information
cubicgraphics authored Feb 27, 2024
1 parent 37c1cc6 commit 0124fed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ public void Update()
{
if (player.UpdateEntitlement || SpectatingPlayersUpdated)
{
player.UpdateEntitlement = false;
if (player.BeatmapIdentifier != null)
{
_packetDispatcher.SendToPlayer(player, new SetPlayersMissingEntitlementsToLevelPacket
Expand All @@ -199,7 +200,6 @@ public void Update()
}, DeliveryMethod.ReliableOrdered);
_logger.Debug("Sent missing entitlement packet");
}
player.UpdateEntitlement = false;
}
}
SpectatingPlayersUpdated = false;
Expand Down

0 comments on commit 0124fed

Please sign in to comment.