summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 472670d..0c593e9 100644
--- a/rules.js
+++ b/rules.js
@@ -373,7 +373,8 @@ function log_selected_move_path() {
if (is_important_move(game.move_path[i]) || i === game.move_path.length-1)
log(">to S" + game.move_path[i])
} else {
- log("@" + game.selected.join(",") + ";" + game.move_path.join(","))
+ if (game.move_path.length > 1)
+ log("@" + game.selected.join(",") + ";" + game.move_path.join(","))
}
}