diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/main.ha | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/main.ha b/server/main.ha index cf8e720..2043a1d 100644 --- a/server/main.ha +++ b/server/main.ha @@ -197,10 +197,9 @@ fn handle_packet( const conn = &state.connections[conn_idx]; match (packet) { case let op: packet_reader::packet_drawop => - const opc = op as drawing::op_circle; // fmt::printfln("#{}: drawop ({:+6},{:+6}) r{}", // conn_idx,opc.pos.0,opc.pos.1, opc.radius)!; - drawing::perform(state.pictures, opc); + drawing::perform(state.pictures, op); for (let other_idx = 0z; other_idx < len(state.connections); other_idx += 1) |