chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ed4527
)
script: lower: Improve debug slightly
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 10 Jul 2021 16:10:02 +0000
(17:10 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 10 Jul 2021 16:10:19 +0000
(17:10 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
templates/script.ts
patch
|
blob
|
history
diff --git
a/templates/script.ts
b/templates/script.ts
index e43819c1547a358f00d60d9ba281ca235e344d11..8181313468f5245b8a0fce5f363ffe30ff61f351 100644
(file)
--- 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);