Skip to content

Commit

Permalink
Fix sending home animation's key values
Browse files Browse the repository at this point in the history
  • Loading branch information
mhawryluk committed Jan 10, 2024
1 parent 15382ed commit a5aa613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class Game {
const startPosition = this.getFreeStartPosition(otherPlayer);

setTimeout(() => {
let keyValue = `${newTile[1]} 1 ${oldTile[0]} ${newTile[1]} 5 ${oldTile[0]} ${startPosition[1]} 1 ${startPosition[0]}`;
let keyValue = `${newTile[1]} 1 ${newTile[0]} ${newTile[1]} 5 ${newTile[0]} ${startPosition[1]} 1 ${startPosition[0]}`;
let key = '0 0.2 1';

const timeSensor = document.getElementById(`time-${otherPlayer}-${otherTileIndex + 1}`);
Expand Down

0 comments on commit a5aa613

Please sign in to comment.