From: Ian Jackson Date: Sat, 10 Jul 2021 16:10:02 +0000 (+0100) Subject: script: lower: Improve debug slightly X-Git-Tag: otter-0.7.2~157 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=bb7711c86648aabda8cb6c062f752e1f54a9750c;p=otter.git script: lower: Improve debug slightly Signed-off-by: Ian Jackson --- diff --git a/templates/script.ts b/templates/script.ts index e43819c1..81813134 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -682,7 +682,7 @@ function lower_pieces(targets_todo: LowerTodoList): let todo = targets_todo[piece]; if (todo) { - console.log('LOWER WALK', piece, 'TODO', todo.bottom); + console.log('LOWER WALK', piece, 'TODO', todo.bottom ? "B" : "_"); delete targets_todo[piece]; if (!todo.bottom) n_targets_todo_unbottom--; (todo.bottom ? tomove_bottom : tomove_unbottom).push(todo);