Fixed formatting and flickering of bottom bar #686

This commit is contained in:
Daniël van Noord committed 2021-03-16 22:55:02 +01:00
1 parent 6caee4d8fb
commit f6b2e70f9b
6 files changed
+10 -6

No files matched your search

+2 -2
View File
@@ -62,10 +62,10 @@ export default function CacheBuildingsPP() {
let indexOfMin = 0;
if (CMOptions.PPOnlyConsiderBuyable) {
while (CachePPArray[indexOfMin][1] > Game.cookies) {
if (CachePPArray.length === indexOfMin - 1) {
indexOfMin += 1;
if (CachePPArray.length === indexOfMin + 1) {
break;
}
indexOfMin += 1;
}
}
CacheMinPP = CachePPArray[CMOptions.PPExcludeTop][indexOfMin];