Skip to content

Commit 733a126

Browse files
committed
Yavalath: Handleclick oopsie!
1 parent 6b67387 commit 733a126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/games/yavalath.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class YavalathGame extends GameBase {
108108
try {
109109
const g = new HexTriGraph(5, 9);
110110
const cell = g.coords2algebraic(col, row);
111-
const newmove = cell[0];
111+
const newmove = cell;
112112
const result = this.validateMove(newmove) as IClickResult;
113113
if (! result.valid) {
114114
result.move = "";

0 commit comments

Comments
 (0)