chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / cube.c
diff --git a/cube.c b/cube.c
index bc919730b89941f164d6e9d551c4c6e08014051c..5df5fcb372a42684d021b463239d7369e29d5430 100644 (file)
--- a/cube.c
+++ b/cube.c
@@ -985,6 +985,11 @@ static char *solve_game(game_state *state, game_state *currstate,
     return NULL;
 }
 
+static int game_can_format_as_text_now(game_params *params)
+{
+    return TRUE;
+}
+
 static char *game_text_format(game_state *state)
 {
     return NULL;
@@ -1715,7 +1720,7 @@ const struct game thegame = {
     dup_game,
     free_game,
     FALSE, solve_game,
-    FALSE, game_text_format,
+    FALSE, game_can_format_as_text_now, game_text_format,
     new_ui,
     free_ui,
     encode_ui,