From: Steinar H. Gunderson Date: Mon, 11 May 2015 16:35:31 +0000 (+0200) Subject: If the PGN has no clock information, explicitly delete it, so that we do not get... X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=325527f1f2d4c3e8a1648690da349f30f8e79759;ds=sidebyside If the PGN has no clock information, explicitly delete it, so that we do not get “dummytime”. --- diff --git a/remoteglot.pl b/remoteglot.pl index 2a6e2a6..aaaed10 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -1017,6 +1017,9 @@ sub extract_clock { $pos->{'black_clock'} = $1; return; } + + delete $pos->{'white_clock'}; + delete $pos->{'black_clock'}; } sub find_clock_start {