diff --git a/wordle b/wordle index e2fed1c..93a1ae4 100755 --- a/wordle +++ b/wordle @@ -149,8 +149,6 @@ function set_options() { declare -gr STATS_FILE="${USER}.stats" - trap save_game SIGINT - if [[ -f "${PROGRESS_FILE}" ]] && [[ -s "${PROGRESS_FILE}" ]]; then load_game RESUME=1 @@ -170,6 +168,8 @@ function set_options() { [[ "${HM}" =~ ^[Yy]$ ]] && STRICT_HARD_MODE=1 fi fi + + trap save_game SIGINT ;; d) DELAY=0