Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit 5c2de89

Browse files
committed
Fix issues
1 parent 2bb2fca commit 5c2de89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

overwolf/src/Minimap/useMinimapRenderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export default function useMinimapRenderer(canvas: React.RefObject<HTMLCanvasEle
225225
const predictedPosition = predictVector(lastPlayerPosition.current, currentPlayerPosition.current);
226226
updateInterpolatedPlayerPosition(predictedPosition, updateTime);
227227
}
228-
updateInterpolatedAngle(getAngle(lastPlayerPosition.current, currentPlayerPosition.current), updateTime);
228+
updateInterpolatedAngle(currentPlayerAngle.current, updateTime);
229229

230230
redraw(true);
231231
}

overwolf/src/contexts/AppContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function loadAppContextSettings(): AppContextSettings {
3939
showNavMesh: load('showNavMesh'),
4040
alwaysLaunchDesktop: load('alwaysLaunchDesktop'),
4141
autoLaunchInGame: load('autoLaunchInGame'),
42-
rotationSource: load('rotationSouce'),
42+
rotationSource: load('rotationSource'),
4343
};
4444
}
4545

0 commit comments

Comments
 (0)