Skip to content

Commit

Permalink
Fix GetAfkRewardRateText
Browse files Browse the repository at this point in the history
  • Loading branch information
lotuuu committed Jun 7, 2024
1 parent b84d4ed commit d849ae4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions client/Assets/Scripts/AfkRewards/KalineTreeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public class KalineTreeManager : MonoBehaviour
[SerializeField] GameObject insufficientCurrencyPopup;
[SerializeField] GameObject afkRewardDetailUI;
[SerializeField] GameObject afkRewardsContainer;
private const int SECONDS_IN_DAY = 86400;

void Start()
{
Expand Down Expand Up @@ -132,6 +131,6 @@ private void SetAfkRewardRatesTexts(User user)

private string GetAfkRewardRateText(float daily_rate)
{
return $"{daily_rate * SECONDS_IN_DAY}/day";
return $"{daily_rate}/day";
}
}
1 change: 0 additions & 1 deletion client/Assets/Scripts/Dungeon/DungeonSettlementManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public class DungeonSettlementManager : MonoBehaviour
[SerializeField] GameObject confirmPopUp;
[SerializeField] GameObject insufficientCurrencyPopup;
[SerializeField] GameObject levelUpButton;
private const int SECONDS_IN_DAY = 86400;

void Start()
{
Expand Down

0 comments on commit d849ae4

Please sign in to comment.