Skip to content

Commit

Permalink
Misc log
Browse files Browse the repository at this point in the history
  • Loading branch information
tiliv committed May 29, 2024
1 parent e3d02c1 commit 1b73499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useLocation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default function useLocation({
const [strategy] = strategies.slice(-hp - 1, -hp);
const { move } = Strategies[strategy];
const [dr, dc] = move({ speed, x: posX, y: posY, r, c });
console.log(interaction.sprite, strategy, { hp }, [r, c], [dr, dc]);
// console.log(interaction.sprite, strategy, { hp }, [r, c], [dr, dc]);

const newLocation = [r + dr, c + dc].join(',');
return [newLocation, interaction];
Expand Down

0 comments on commit 1b73499

Please sign in to comment.