diff --git a/script.js b/script.js index efca6cd..99afb98 100644 --- a/script.js +++ b/script.js @@ -72,12 +72,14 @@ async function run() { function new_game() { textareaGameDataInput.value = load_default_game_data(); + checkGameData(); // we don't need to look at the default game data, so skip ahead to the image page buttonGameDataProceed.click(); } function clear_game() { textareaGameDataInput.value = ""; + checkGameData(); } buttonNewGame.addEventListener("click", new_game);