Remove message type from SectorMessage class

This commit is contained in:
Ricardo Lopes 2020-02-13 21:51:24 +01:00
parent cdb8884e45
commit ef632e5ed0
2 changed files with 1 additions and 2 deletions

View File

@ -33,7 +33,7 @@ namespace QSB {
SectorMessage msg = new SectorMessage();
msg.sectorId = (int) sector.GetName();
msg.senderId = netId.Value;
connectionToServer.Send(SectorMessage.Type, msg);
connectionToServer.Send(MessageType.Sector, msg);
}
}

View File

@ -2,7 +2,6 @@
namespace QSB {
public class SectorMessage: MessageBase {
public static short Type = MsgType.Highest + 1;
public int sectorId;
public uint senderId;