clocks[num].elapsed = amount;
clocks[num].origin = Date.now();
update_clock(num);
+
+ // The BT-6000 likes to reset to 0:00 a while after the match is over,
+ // so go hide it then.
+ if (num == 0 && !clocks[num].running) {
+ hideclock();
+ }
}
function setclockfromstate()