Skip to content

Commit

Permalink
fix: adding the correct value in minutes to green stamina
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospess0a committed Jan 2, 2024
1 parent df811d7 commit 54ae1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/events/scripts/player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ function Player:onChangeZone(zone)
if stamina < 2520 then
if not event then
local delay = configManager.getNumber(configKeys.STAMINA_ORANGE_DELAY)
if stamina > 2400 and stamina <= 2520 then
if stamina > 2351 and stamina <= 2520 then
delay = configManager.getNumber(configKeys.STAMINA_GREEN_DELAY)
end

Expand Down

0 comments on commit 54ae1ef

Please sign in to comment.