Don't expose heartbeat to app
This commit is contained in:
parent
e58629c2f1
commit
58795eb87e
4 changed files with 7 additions and 6 deletions
|
@ -4,7 +4,7 @@ use bevy::prelude::*;
|
|||
use uuid::Uuid;
|
||||
|
||||
use super::{
|
||||
io::{Config, handle_network_input, handle_network_output, heartbeat, timeouts},
|
||||
io::{Config, handle_network_input, handle_network_output, heartbeat, timeout},
|
||||
packet::{InboundPacket, OutboundPacket},
|
||||
peer::{Peer, PeerChangeEvent, PeerMap, handle_new_peer, handle_peer_change},
|
||||
queues::{NetworkReceive, NetworkSend},
|
||||
|
@ -40,7 +40,7 @@ impl Plugin for NetIOPlugin {
|
|||
)
|
||||
.add_systems(
|
||||
FixedUpdate,
|
||||
(heartbeat, timeouts, handle_new_peer).run_if(in_state(NetworkState::MultiPlayer)),
|
||||
(heartbeat, timeout, handle_new_peer).run_if(in_state(NetworkState::MultiPlayer)),
|
||||
)
|
||||
.add_systems(
|
||||
FixedPostUpdate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue