diff options
author | stale <redkugelblitzin@gmail.com> | 2022-07-03 05:34:07 -0300 |
---|---|---|
committer | stale <redkugelblitzin@gmail.com> | 2022-07-03 05:34:07 -0300 |
commit | 0c0491ad17a0adc1d63c183b934df683e5e98b3f (patch) | |
tree | fbd932249d9cc55e187e5045d68125e19da407b4 /src/conn.rs | |
parent | f8735f5b539b991f8da9ec1b3e64966566d77477 (diff) |
hooray for untested code
Diffstat (limited to 'src/conn.rs')
-rw-r--r-- | src/conn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<WebSocket>), 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}"); } } |