diff --git a/src/global.gd b/src/global.gd index 629a75e..5ec751f 100644 --- a/src/global.gd +++ b/src/global.gd @@ -96,10 +96,6 @@ func detect_params() -> void: if "--allowfuture" in args: allow_future = true - print("daily: ", daily) - print("custom: ", custom) - print("allowfuture: ", allow_future) - if daily: game_mode = GameMode.DAILY get_tree().change_scene_to_file.call_deferred("res://src/main.tscn") diff --git a/src/main.gd b/src/main.gd index 51377b6..f40ccbb 100644 --- a/src/main.gd +++ b/src/main.gd @@ -134,7 +134,7 @@ func guess_entered() -> void: if input_guess.length() != letter_count: show_error("Word must be five characters.") return - if not Global.is_valid_word(input_guess): + if not Global.is_valid_word(input_guess) and input_guess != target_word: show_error("Not a recognized word.") return