fix dumb thing
This commit is contained in:
parent
a3db5b65e2
commit
6686aee824
@ -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…
x
Reference in New Issue
Block a user