fix more anys

This commit is contained in:
Olivier Gagnon
2022-07-19 18:25:06 -04:00
parent 2442402af5
commit c3a10d5d95
7 changed files with 138 additions and 101 deletions
+2 -2
View File
@@ -375,7 +375,7 @@ export function WorkInProgressRoot(): React.ReactElement {
const position = player.jobs[player.currentWork.companyName];
const gains = player.currentWork.getGainRates(player);
console.log(player.currentWork.cyclesWorked);
workInfo = {
buttons: {
cancel: cancel,
@@ -406,7 +406,7 @@ export function WorkInProgressRoot(): React.ReactElement {
...ExpRows(gains),
],
progress: {
elapsed: player.currentWork.cyclesWorked * CYCLES_PER_SEC,
elapsed: player.currentWork.cyclesWorked * CONSTANTS._idleSpeed,
},
stopText: "Stop working",