mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
Remove message type from SectorMessage class
This commit is contained in:
parent
cdb8884e45
commit
ef632e5ed0
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
namespace QSB {
|
||||
public class SectorMessage: MessageBase {
|
||||
public static short Type = MsgType.Highest + 1;
|
||||
public int sectorId;
|
||||
public uint senderId;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user