Skip to content

Commit 62eff7f

Browse files
committed
fix: new robots position visual display
1 parent 4ff2b2f commit 62eff7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/2024/2024-12-14/lib/board.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class Board {
8383

8484
const robotData = this.robots[robotIndex] as RobotProperty
8585
const currentTileValue = getCoordinateSymbol(robotData, this.grid)?.symbol
86-
const newPositionTileValue = getCoordinateSymbol(robotData, this.grid)?.symbol
86+
const newPositionTileValue = getCoordinateSymbol(point, this.grid)?.symbol
8787

8888
if (!currentTileValue || !newPositionTileValue) return
8989

0 commit comments

Comments
 (0)