comment giveaway special case

pull/7112/head
Niklas Fiekas 2020-08-13 10:48:55 +02:00
parent e4b6797000
commit 3b78d28376
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export default class Protocol {
if (this.opts.variant === 'fromPosition' || this.opts.variant === 'chess960')
this.setOption('UCI_Chess960', 'true');
else if (this.opts.variant === 'antichess')
this.setOption('UCI_Variant', 'giveaway');
this.setOption('UCI_Variant', 'giveaway'); // for compatibility with old asmjs fallback
else if (this.opts.variant !== 'standard')
this.setOption('UCI_Variant', lichessVariantRules(this.opts.variant));
}