diff --git a/wordle/wordle.c b/wordle/wordle.c index 1e1f680ecf962ab6667564a0a445d9b7cb016a2e..f209bd546aed43c35c8a493648b287a8fdef6986 100644 --- a/wordle/wordle.c +++ b/wordle/wordle.c @@ -137,8 +137,11 @@ void destroy_game() { } void restart_game() { - destroy_tool(); - init_tool(); + if (mode == TOOL_ASSISTED) { + destroy_tool(); + init_tool(); + } + score += (TRIES_COUNT - current_try_id) * 10; set_answer(get_random_word());