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));