Browse Source

fix dumb thing

pbs
jake 4 years ago
parent
commit
6686aee824
  1. 2
      src/common/mainloop/interserver.rs

2
src/common/mainloop/interserver.rs

@ -199,7 +199,7 @@ pub fn login_listen_mainloop<EG: EntityGateway + 'static>(state: Arc<Mutex<Chara
{
let mut state = state.lock().await;
let local_sender = client_sender.clone();
state.set_sender(server_id, Box::new(|message| {
state.set_sender(server_id, Box::new(move |message| {
async_std::task::block_on(local_sender.send(message));
}))
}

Loading…
Cancel
Save