From 7785a6c9d77b4793ce6a87f9757e0c7c065e75c4 Mon Sep 17 00:00:00 2001 From: Tom Boullay Date: Wed, 13 May 2026 11:03:18 +0200 Subject: [PATCH] fix: clean formatting issues --- src/data/gameplay/repairMissions.ts | 2 +- src/world/player/PlayerController.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/data/gameplay/repairMissions.ts b/src/data/gameplay/repairMissions.ts index 78654d6..7b66149 100644 --- a/src/data/gameplay/repairMissions.ts +++ b/src/data/gameplay/repairMissions.ts @@ -52,7 +52,7 @@ export const REPAIR_MISSIONS: Record = { description: "Repair the damaged cooling module before relaunching the bike", modelPath: "/models/ebike/model.gltf", - modelScale: 0.50, + modelScale: 0.5, stageUiPath: "/assets/UI/ebike.webm", interactUiPath: REPAIR_INTERACT_UI_PATH, brokenUiPath: REPAIR_BROKEN_UI_PATH, diff --git a/src/world/player/PlayerController.tsx b/src/world/player/PlayerController.tsx index 8392e9c..a8f48f9 100644 --- a/src/world/player/PlayerController.tsx +++ b/src/world/player/PlayerController.tsx @@ -106,7 +106,8 @@ export function PlayerController({ const velocity = useRef(new THREE.Vector3()); const onFloor = useRef(false); const wantsJump = useRef(false); - const initializedRef = useRef(false); const canMove = useGameStore((state) => state.missionFlow.canMove); + const initializedRef = useRef(false); + const canMove = useGameStore((state) => state.missionFlow.canMove); const capsule = useRef(createSpawnCapsule(spawnPosition));