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