From 0c0491ad17a0adc1d63c183b934df683e5e98b3f Mon Sep 17 00:00:00 2001 From: stale Date: Sun, 3 Jul 2022 05:34:07 -0300 Subject: hooray for untested code --- src/conn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conn.rs') diff --git a/src/conn.rs b/src/conn.rs index 89fd5e0..a0ba899 100644 --- a/src/conn.rs +++ b/src/conn.rs @@ -165,7 +165,7 @@ pub async fn drive_conn(conn: (Conn, SplitStream), rinfo: (RoomId, Ar if let Err(e) = pos_tx.send(livepos::Req { id: uid, data: livepos::ReqData::StateDump }) { println!("{room_id} E: couldn't request position dump for {me}: {e}"); } - if let Err(e) = cmd_tx.send(MetaMove::Dump) { + if let Err(e) = cmd_tx.send(MetaMove::StateDump) { println!("{room_id} E: couldn't request game dump for {me}: {e}"); } } -- cgit v1.2.3