Skip to content

Commit d047e8d

Browse files
committed
change VarUInt to UInt
1 parent 30f4881 commit d047e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MultiplayerExtensions/Beatmaps/PreviewBeatmapPacket.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void Serialize(NetDataWriter writer)
4848
writer.Put(this.songDuration);
4949

5050
writer.Put(this.characteristic);
51-
writer.PutVarUInt((uint)this.difficulty);
51+
writer.Put((uint)this.difficulty);
5252
}
5353

5454
public void Deserialize(NetDataReader reader)
@@ -63,7 +63,7 @@ public void Deserialize(NetDataReader reader)
6363
this.songDuration = reader.GetFloat();
6464

6565
this.characteristic = reader.GetString();
66-
this.difficulty = (BeatmapDifficulty)reader.GetVarUInt();
66+
this.difficulty = (BeatmapDifficulty)reader.GetUInt();
6767
}
6868

6969
public void Release()

0 commit comments

Comments
 (0)