- if (this.hasFlags) parts.push(`"flags":"${flags}"`);
- if (this.hasEnpassant) parts.push('"enpassant":"-"');
- if (this.hasReserve) parts.push('"reserve":"000000000000"');
- if (this.options["crazyhouse"]) parts.push('"ispawn":"-"');
- if (parts.length >= 1) fen += " {" + parts.join(",") + "}";
+ if (this.hasFlags)
+ parts.push(`"flags":"${flags}"`);
+ if (this.hasEnpassant)
+ parts.push('"enpassant":"-"');
+ if (this.hasReserve)
+ parts.push('"reserve":"000000000000"');
+ if (this.options["crazyhouse"])
+ parts.push('"ispawn":"-"');
+ if (parts.length >= 1)
+ fen += " {" + parts.join(",") + "}";