chiark / gitweb /
Forbid undo of new-game if it would change the params.
[sgt-puzzles.git] / twiddle.c
index a1d32cd99589a9b50f85419addaee08eec6b4800..6e05f4ddeced8a95cd46377289da9dec7c91d62d 100644 (file)
--- a/twiddle.c
+++ b/twiddle.c
@@ -1281,7 +1281,7 @@ static void game_print(drawing *dr, const game_state *state, int tilesize)
 const struct game thegame = {
     "Twiddle", "games.twiddle", "twiddle",
     default_params,
-    game_fetch_preset,
+    game_fetch_preset, NULL,
     decode_params,
     encode_params,
     free_params,