We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e62567d commit 26a3e83Copy full SHA for 26a3e83
src/moomoo/Physics.ts
@@ -28,7 +28,7 @@ function moveTowards(player: Player, angle: number, speed: number, deltaTime: nu
28
* @param gameObj the GameObject to test collision for
29
*/
30
function collidePlayerGameObject(player: Player, gameObj: GameObject) {
31
- return collideCircles(player.location, 35, gameObj.location, gameObj.data === ItemType.PitTrap ? 0.3 * gameObj.realScale : gameObj.realScale;
+ return collideCircles(player.location, 35, gameObj.location, gameObj.data === ItemType.PitTrap ? 0.3 * gameObj.realScale : gameObj.realScale);
32
}
33
34
function tryMovePlayer(player: Player, delta: number, xVel: number, yVel: number, state: GameState) {
0 commit comments