mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
Remove redundant sendtoall
This commit is contained in:
parent
d6e1f4c2a4
commit
cdb8884e45
@ -33,11 +33,7 @@ namespace QSB {
|
||||
SectorMessage msg = new SectorMessage();
|
||||
msg.sectorId = (int) sector.GetName();
|
||||
msg.senderId = netId.Value;
|
||||
if (isServer) {
|
||||
NetworkServer.SendToAll(SectorMessage.Type, msg);
|
||||
} else {
|
||||
connectionToServer.Send(SectorMessage.Type, msg);
|
||||
}
|
||||
connectionToServer.Send(SectorMessage.Type, msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user