Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: new robots position visual display
  • Loading branch information
weaponsforge committed Jan 9, 2025
commit 62eff7fedd7f2665056a3bd31c2046f85155f06b
2 changes: 1 addition & 1 deletion src/2024/2024-12-14/lib/board.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class Board {

const robotData = this.robots[robotIndex] as RobotProperty
const currentTileValue = getCoordinateSymbol(robotData, this.grid)?.symbol
const newPositionTileValue = getCoordinateSymbol(robotData, this.grid)?.symbol
const newPositionTileValue = getCoordinateSymbol(point, this.grid)?.symbol

if (!currentTileValue || !newPositionTileValue) return

Expand Down
Loading