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