diff --git a/src/app/tools/tankopedia/[id]/components/QuickInputs/index.tsx b/src/app/tools/tankopedia/[id]/components/QuickInputs/index.tsx index ffeb8e8ef..6983b22e1 100644 --- a/src/app/tools/tankopedia/[id]/components/QuickInputs/index.tsx +++ b/src/app/tools/tankopedia/[id]/components/QuickInputs/index.tsx @@ -38,7 +38,9 @@ export function RotationInputs() { function handleTransformEvent({ pitch, yaw }: ModelTransformEventData) { if (!pitchInput.current || !yawInput.current) return; - pitchInput.current.value = (-radToDeg(pitch)).toFixed(1); + pitchInput.current.value = ( + -radToDeg(pitch) + (tankModelDefinition.turretRotation?.pitch ?? 0) + ).toFixed(1); if (yaw === undefined) return;