Partial: Dedicated Peer distribution system
All checks were successful
CI / Formatting (push) Successful in 1m7s
All checks were successful
CI / Formatting (push) Successful in 1m7s
This is an uncompleted commit to move the work over to my other machine. Should compile though.
This commit is contained in:
parent
4db82f328b
commit
1a5a628000
6 changed files with 161 additions and 53 deletions
|
@ -26,7 +26,7 @@ fn sender<T: Into<Vec<u8>> + Component + Clone>(
|
|||
for entity in entities {
|
||||
outbound.write(OutboundPacket(Packet::new(
|
||||
(*entity).clone().into(),
|
||||
peer.uuid,
|
||||
peer.id,
|
||||
)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue