summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-11-15 18:20:15 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:28 +0100
commita6444c0637b2ba63d6f22c66d8ed9dcdbb50b47b (patch)
tree755dee605e25db818bbb27b7ca5577bf0103ce2b
parent5a49f17a602298fe08a67a26c8919d99d7f264de (diff)
downloadrommel-in-the-desert-a6444c0637b2ba63d6f22c66d8ed9dcdbb50b47b.tar.gz
Remove stray debugging lines.
-rw-r--r--play.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/play.js b/play.js
index 388984d..9dad9ff 100644
--- a/play.js
+++ b/play.js
@@ -276,7 +276,6 @@ function is_month_hex(hex) {
function focus_stack(stack, hex) {
if (ui.focus !== stack) {
- console.log("FOCUS STACK", stack, hex)
ui.focus = stack
update_map()
return stack.length <= 1 || is_setup_hex(hex)
@@ -286,7 +285,6 @@ function focus_stack(stack, hex) {
function blur_stack() {
if (ui.focus !== null) {
- console.log("BLUR STACK")
ui.focus = null
update_map()
}
@@ -1086,7 +1084,6 @@ function on_focus_hex_tip(x) {
}
function on_click_hex_tip(x) {
- console.log(ui.hexes[x])
ui.hexes[x].scrollIntoView({ block:"center", inline:"center", behavior:"smooth" })
}