Update to Bevy 0.17.2
All checks were successful
CI / Formatting (push) Successful in 32s

This commit is contained in:
Michael Bradley 2025-10-13 15:17:23 -04:00
parent 53fe3333f0
commit 27b4644730
Signed by: MichaelBradley
SSH key fingerprint: SHA256:BKO2eI2LPsCbQS3n3i5SdwZTAIV3F1lHezR07qP+Ob0
12 changed files with 852 additions and 642 deletions

View file

@ -6,7 +6,7 @@ use super::{
};
fn spawner<T: TryFrom<Vec<u8>> + Component>(
mut inbound: EventReader<InboundPacket>,
mut inbound: MessageReader<InboundPacket>,
mut commands: Commands,
) {
for InboundPacket(packet) in inbound.read() {
@ -19,7 +19,7 @@ fn spawner<T: TryFrom<Vec<u8>> + Component>(
fn sender<T: Into<Vec<u8>> + Component + Clone>(
peers: Query<&PeerID, Added<Peer>>,
entities: Query<&T>,
mut outbound: EventWriter<OutboundPacket>,
mut outbound: MessageWriter<OutboundPacket>,
) {
for peer in peers {
for entity in entities {