Skip to content

Commit

Permalink
fix: adding the correct value in minutes to green stamina (#2081)
Browse files Browse the repository at this point in the history
Co-authored-by: Elson Costa <[email protected]>
Co-authored-by: Luan Santos <[email protected]>
  • Loading branch information
3 people authored Jan 4, 2024
1 parent 329e11e commit ed99d95
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 > 2340 and stamina <= 2520 then
delay = configManager.getNumber(configKeys.STAMINA_GREEN_DELAY)
end

Expand Down

0 comments on commit ed99d95

Please sign in to comment.