Skip to content

Commit

Permalink
Set dedi requestor as party leader
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Dec 16, 2024
1 parent 73f975b commit 5cbf783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fika.Core/Networking/FikaServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ private void OnLoadingProfilePacketReceived(LoadingProfilePacket packet, NetPeer
}

KeyValuePair<Profile, bool> kvp = packet.Profiles.First();
visualProfiles.Add(kvp.Key, kvp.Value);
visualProfiles.Add(kvp.Key, visualProfiles.Count == 0 || kvp.Value);
FikaBackendUtils.AddPartyMembers(visualProfiles);
packet.Profiles = visualProfiles;
SendDataToAll(ref packet, DeliveryMethod.ReliableOrdered);
Expand Down

0 comments on commit 5cbf783

Please sign in to comment.