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