From d34d98c15d104be6cdc94fd3f0b41e1014629f44 Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 29 Sep 2026 17:27:24 +0000 Subject: [PATCH] only update stats for the daily game update_stats ran for every online game, so practice games played after the daily counted towards played/wins/losses and a practice loss reset the streak. Move it inside the DAILY_DONE check with the board files. Co-Authored-By: Claude Opus 5.5 --- wordle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordle b/wordle index 46475e1..cf9065e 100755 --- a/wordle +++ b/wordle @@ -432,8 +432,8 @@ function save_game() { function save_result() { [[ "${ONLINE}" == 0 ]] && return 0 - [[ "${ONLINE}" == 1 ]] && update_stats if [[ "${ONLINE}" == 1 ]] && [[ "${DAILY_DONE}" != 1 ]]; then + update_stats render_board > "${RESULT_FILE}" render_board > "${CUR_RESULT_FILE}" if [[ $WIN != 5 ]]; then