diff --git a/MultiplayerExtensions/Beatmaps/PreviewBeatmapPacket.cs b/MultiplayerExtensions/Beatmaps/PreviewBeatmapPacket.cs index a1dd8bd..fb78169 100644 --- a/MultiplayerExtensions/Beatmaps/PreviewBeatmapPacket.cs +++ b/MultiplayerExtensions/Beatmaps/PreviewBeatmapPacket.cs @@ -48,7 +48,7 @@ public void Serialize(NetDataWriter writer) writer.Put(this.songDuration); writer.Put(this.characteristic); - writer.PutVarUInt((uint)this.difficulty); + writer.Put((uint)this.difficulty); } public void Deserialize(NetDataReader reader) @@ -63,7 +63,7 @@ public void Deserialize(NetDataReader reader) this.songDuration = reader.GetFloat(); this.characteristic = reader.GetString(); - this.difficulty = (BeatmapDifficulty)reader.GetVarUInt(); + this.difficulty = (BeatmapDifficulty)reader.GetUInt(); } public void Release()