Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanKell committed Jun 26, 2023
1 parent 19172a5 commit 02ecc93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Leaders/CurrencyModifierQueryRP0.cs
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ public enum TransactionReasonsRP0 : long
TimeInactive = 1 << 46,
CrewTimes = RateTraining | TimeRetirement | TimeInactive,

UnlockCreditIncrease = 1 << 47,
RateUnlockCreditIncrease = 1 << 47,

Any = ~0
}
Expand Down
2 changes: 1 addition & 1 deletion Source/UnlockCreditHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void IncrementCredit(string tech, double amount)
if (!(amount > 0))
return;

amount *= CurrencyUtils.Rate(TransactionReasonsRP0.UnlockCreditIncrease);
amount *= CurrencyUtils.Rate(TransactionReasonsRP0.RateUnlockCreditIncrease);

_totalCredit += amount;
}
Expand Down

0 comments on commit 02ecc93

Please sign in to comment.