1
0
forked from noxious/client

Commented code for testing purpose

This commit is contained in:
Dennis Postma 2024-09-08 16:06:20 +02:00
parent 7c4f626c5a
commit 04bb488797

View File

@ -56,11 +56,11 @@ const updatePosition = (x: number, y: number) => {
/** /**
* Teleport: No animation, only if the distance is greater than the tile size / 1.5 * Teleport: No animation, only if the distance is greater than the tile size / 1.5
*/ */
if (distance >= config.tile_size.x / 1.5) { // if (distance >= config.tile_size.x / 1.5) {
// Teleport: No animation // // Teleport: No animation
currentX.value = targetX // currentX.value = targetX
currentY.value = targetY // currentY.value = targetY
} // }
/** /**
* Normal movement: Animate * Normal movement: Animate