From c28886ee0e14590622fb35eee654c98b406c1465 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Wed, 30 Nov 2022 22:47:35 +0100 Subject: [PATCH] Overwrite real invalid timer ids --- src/map/chrif.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/map/chrif.cpp b/src/map/chrif.cpp index 52b2b261eb..a002b777d2 100644 --- a/src/map/chrif.cpp +++ b/src/map/chrif.cpp @@ -344,6 +344,9 @@ int chrif_save(struct map_session_data *sd, int flag) { delete_timer( sd->goldpc_tid, pc_goldpc_update ); sd->goldpc_tid = INVALID_TIMER; } + }else{ + // Invalid timer anyway + sd->goldpc_tid = INVALID_TIMER; } }