chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / loopy.c
diff --git a/loopy.c b/loopy.c
index 10619afdb614d3d81260ae91072ea64627611a1b..a53e4525761a5e996a369598d78af2fb7a3c51e4 100644 (file)
--- a/loopy.c
+++ b/loopy.c
@@ -151,6 +151,11 @@ struct game_drawstate {
     char *clue_error;
 };
 
+static int game_can_format_as_text_now(game_params *params)
+{
+    return TRUE;
+}
+
 static char *game_text_format(game_state *state);
 static char *state_to_text(const game_state *state);
 static char *validate_desc(game_params *params, char *desc);
@@ -3821,7 +3826,7 @@ const struct game thegame = {
     dup_game,
     free_game,
     1, solve_game,
-    TRUE, game_text_format,
+    TRUE, game_can_format_as_text_now, game_text_format,
     new_ui,
     free_ui,
     encode_ui,