X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=remoteglot.pl;h=049cdabaafaa0f0f824bec3cb0df34f147176fe2;hp=86334a7e0e4a4f737c74f08b684f9832892053be;hb=3a8a3682f658b1fd5f1ae8420230a356f57fc0ad;hpb=9538e715d31e338a2164992775d31a88feeda13f diff --git a/remoteglot.pl b/remoteglot.pl index 86334a7..049cdab 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -910,6 +910,7 @@ sub output_json { } else { $pos = Position->start_pos('white', 'black'); } + $pos->{'chess960'} = $pos_calculating->{'chess960'}; my $halfmove_num = 0; for my $move (@{$pos_calculating->{'history'}}) { my $id = id_for_pos($pos, $halfmove_num);