Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Set weapon afford notif cooldown to 3 mins
Browse files Browse the repository at this point in the history
  • Loading branch information
Pluviolithic committed Dec 5, 2023
1 parent be943e7 commit 589a910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/UI/Shops/WeaponShop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function WeaponShop:_initialize(): ()
if
selectors.getStat(newState, player.Name, "Gems") >= currentTargetPrice
and currentTargetPrice > selectors.getStat(oldState, player.Name, "Gems")
and os.time() - lastCanAffordNotification > 300
and os.time() - lastCanAffordNotification > 180
and selectors.isPlayerLoaded(oldState, player.Name)
then
lastCanAffordNotification = os.time()
Expand Down

0 comments on commit 589a910

Please sign in to comment.