Hopefully Eightpieces is less buggish now
[vchess.git] / client / src / utils / playUndo.js
index ab11bff..94e642c 100644 (file)
@@ -5,6 +5,7 @@ export function playMove(move, vr) {
 
 export function undoMove(move, vr) {
   if (!Array.isArray(move)) move = [move];
+  // If multi-move, undo all submoves from last to first
   for (let i = move.length - 1; i >= 0; i--)
     vr.undo(move[i]);
 }