mirror of
https://github.com/Impostor/Impostor.git
synced 2026-11-19 13:17:05 +00:00
Fix FriendCode and Puid order (#756)
This commit is contained in:
1 parent
703915f06f
commit
118d32fb9c
2 files changed
+2
-2
No files matched your search
@@ -19,8 +19,8 @@ namespace Impostor.Api.Net.Messages.S2C
|
||||
writer.Write(player.Client.Name);
|
||||
player.Client.PlatformSpecificData.Serialize(writer);
|
||||
writer.WritePacked(player.Character?.PlayerInfo?.PlayerLevel ?? 1);
|
||||
writer.Write(player.Client.FriendCode ?? string.Empty);
|
||||
writer.Write(player.Client.Puid ?? string.Empty);
|
||||
writer.Write(player.Client.FriendCode ?? string.Empty);
|
||||
writer.EndMessage();
|
||||
}
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@ namespace Impostor.Api.Net.Messages.S2C
|
||||
writer.Write(ply.Client.Name);
|
||||
ply.Client.PlatformSpecificData.Serialize(writer);
|
||||
writer.WritePacked(ply.Character?.PlayerInfo?.PlayerLevel ?? 1);
|
||||
writer.Write(ply.Client.FriendCode ?? string.Empty);
|
||||
writer.Write(ply.Client.Puid ?? string.Empty);
|
||||
writer.Write(ply.Client.FriendCode ?? string.Empty);
|
||||
}
|
||||
|
||||
writer.EndMessage();
|
||||
|
||||
Reference in new issue
Block a user