aboutsummaryrefslogtreecommitdiff
path: root/src/features/hud/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/hud/index.js')
-rw-r--r--src/features/hud/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/features/hud/index.js b/src/features/hud/index.js
index f4d7e16..f1cfa33 100644
--- a/src/features/hud/index.js
+++ b/src/features/hud/index.js
@@ -676,6 +676,7 @@ class Hud extends Feature {
updatePotsData(data) {
this.potsExpireAt = {}
let now = Date.now()
+ if (Date.now() - data.last_save < 5 * 60000) now = data.last_save
data.active_effects.forEach(e => {
this.potsExpireAt[e.effect] = {
level: e.level,