From c7c2f41c6f3e1aaf02a8539afd85336c9d923213 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Tue, 7 Jun 2022 16:43:32 +0200
Subject: [PATCH] update

---
 variants/Chakart/class.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/variants/Chakart/class.js b/variants/Chakart/class.js
index a9f11fb..0403624 100644
--- a/variants/Chakart/class.js
+++ b/variants/Chakart/class.js
@@ -144,8 +144,10 @@ export class ChakartRules extends ChessRules {
     this.effect = "";
   }
 
+  // For Toadette bonus
   getDropMovesFrom([c, p]) {
-    if (this.reserve[c][p] == 0) return [];
+    if (this.reserve[c][p] == 0)
+      return [];
     let moves = [];
     const start = (c == 'w' && p == 'p' ? 1 : 0);
     const end = (color == 'b' && p == 'p' ? 7 : 8);
-- 
2.44.0