Fix BN level on flume

This commit is contained in:
nickofolas 2022-04-23 18:50:39 -05:00
parent 69781359d5
commit 4ac2d82e14

@ -163,7 +163,9 @@ export function BitverseRoot(props: IProps): React.ReactElement {
return lvl; return lvl;
} }
const max = n === 12 ? Infinity : 3; const max = n === 12 ? Infinity : 3;
return Math.min(max, lvl + 1);
// If accessed via flume, display the current BN level, else the next
return Math.min(max, lvl + Number(!props.flume));
}; };
if (Settings.DisableASCIIArt) { if (Settings.DisableASCIIArt) {