Merge pull request #1712 from IvarK/fix-dropout

Fix #1711
This commit is contained in:
Waiting Idly 2021-06-22 15:55:22 -07:00 committed by GitHub
commit 3cede59621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,6 @@ Currency.timeTheorems = new class extends DecimalCurrency {
add(amount) {
super.add(amount);
player.timestudy.maxTheorem = player.timestudy.maxTheorem.plus(amount);
if (new Decimal(amount).gt(0)) player.achievementChecks.noTheoremPurchases = false;
}
reset() {

View File

@ -56,6 +56,7 @@ class TimeTheoremPurchaseType {
this.add(1);
purchased = true;
}
if (purchased) player.achievementChecks.noTheoremPurchases = false;
return purchased;
}