diff -r e0e061cf4829 -r ef8c39362342 src/main.c --- a/src/main.c Mon Aug 17 12:01:19 2026 +0200 +++ b/src/main.c Mon Aug 17 12:14:51 2026 +0200 @@ -619,7 +619,7 @@ * the network response code, but we choose not to do it */ gamestate->checkmate = code == NETCODE_CHECKMATE; gamestate->stalemate = code == NETCODE_STALEMATE; - if (code == NETCODE_DECLINE) { + if (code == NETCODE_DECLINE_MOVE) { uint32_t reason; net_recieve_data(opponent, &reason, sizeof(uint32_t)); reason = ntohl(reason); @@ -802,7 +802,7 @@ } } else { uint32_t reason = htonl(code); - net_send_data(opponent, NETCODE_DECLINE, + net_send_data(opponent, NETCODE_DECLINE_MOVE, &reason, sizeof(uint32_t)); } break;