Skip to content

Commit

Permalink
Adapted valueSmoothener parameter naming
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed May 8, 2024
1 parent ab61543 commit 332711a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/RessourceMenu/RessourceMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export const RessourceMenu = () => {
const buildingOutputs = useStore((state) => state.buildingOutputs);
const reset = useStore((state) => state.reset);

const valueSmoothener: (m: number) => number = function (
m): number {
return (Math.round((m * 6000) / 100))
const valueSmoothener: (buildingsOutputValue: number) => number = function (
buildingsOutputValue): number {
return (Math.round((buildingsOutputValue * 6000) / 100))
}

const remainingRessources: (ressourcesPerMinute: number, totalRessources: number) => string = function (
Expand Down

0 comments on commit 332711a

Please # to comment.