DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

842b6a02ac2c5748f880bc68a3c6f325f18ac11a — Jonni Liljamo 1 year, 9 months ago 10bc627
fix(client): silence warnings in tick_events
1 files changed, 2 insertions(+), 2 deletions(-)

M client/src/plugins/networking/systems/events.rs
M client/src/plugins/networking/systems/events.rs => client/src/plugins/networking/systems/events.rs +2 -2
@@ 72,10 72,10 @@ pub fn message_events(
    }
}

pub fn tick_events(mut ev: EventReader<ClientTickEvent>, mut client: Client) {
pub fn tick_events(mut ev: EventReader<ClientTickEvent>, client: Client) {
    if !client.is_connected() {
        return;
    }

    for ClientTickEvent(tick) in ev.iter() {}
    for ClientTickEvent(_tick) in ev.iter() {}
}