From c8377c0bb358945408f60b5a2e9a51a1954dbb32 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Sun, 7 Mar 2021 04:42:48 -0500 Subject: [PATCH] Fix SF3 listed with a limit level of infinity --- src/Constants.ts | 8 ++++---- src/ui/React/SourceFileAccordion.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Constants.ts b/src/Constants.ts index c8a12c1af..f51523ebf 100644 --- a/src/Constants.ts +++ b/src/Constants.ts @@ -6,7 +6,7 @@ import { IMap } from "./types"; export let CONSTANTS: IMap = { - Version: "0.47.3", + Version: "0.48.0", /** Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience * and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then @@ -228,11 +228,11 @@ export let CONSTANTS: IMap = { LatestUpdate: ` - v0.47.3 + v0.48.0 ------- Misc. - * missing ram cost in many function now added to documentation - * typos + * Fixed an issue where SF3 was listed as infinitly repeatable and SF12 as + having a limit of 3. ` } diff --git a/src/ui/React/SourceFileAccordion.tsx b/src/ui/React/SourceFileAccordion.tsx index 2f5172e36..d72c3f3de 100644 --- a/src/ui/React/SourceFileAccordion.tsx +++ b/src/ui/React/SourceFileAccordion.tsx @@ -16,7 +16,7 @@ type IProps = { } export function SourceFileAccordion(props: IProps): React.ReactElement { - const maxLevel = props.sf.n === 3 ? "∞" : "3"; + const maxLevel = props.sf.n === 12 ? "∞" : "3"; return (