Remove unncesary casting

This commit is contained in:
Paul Pacheco 2019-08-31 14:48:59 -05:00
parent 4638342168
commit a61635424f

View File

@ -95,7 +95,7 @@ public static bool UnpackMessage(NetworkReader messageReader, out int msgType)
// read message type (varint)
try
{
msgType = (int)messageReader.ReadUInt16();
msgType = messageReader.ReadUInt16();
return true;
}
catch (System.IO.EndOfStreamException)