Skip to content

Commit

Permalink
fix(time): Excessive, false log messages for cryochamber fixes
Browse files Browse the repository at this point in the history
KS would log that a cryochamber was fixed, even though the required resources were not available.

Fixes #185
  • Loading branch information
oliversalzburg committed Mar 18, 2023
1 parent fa5fe7f commit 05b2ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kitten-scientists/source/TimeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class TimeManager {
// Thus, the callback should be invoked before this loop ends.
(didHappen: boolean) => {
fixHappened = didHappen;
++fixed;
fixed += didHappen ? 1 : 0;
}
);
} while (fixHappened);
Expand Down

0 comments on commit 05b2ca2

Please sign in to comment.