From a4d54e83bc6d2d795f3a9acabb8da0b08553c42c Mon Sep 17 00:00:00 2001 From: Kelsi Date: Sat, 21 Mar 2026 08:07:39 -0700 Subject: [PATCH] feat: fire MIRROR_TIMER_PAUSE event when breath/fatigue timer pauses Fire MIRROR_TIMER_PAUSE from SMSG_PAUSE_MIRROR_TIMER with paused state (1=paused, 0=resumed). Completes the mirror timer event trio alongside MIRROR_TIMER_START and MIRROR_TIMER_STOP. --- src/game/game_handler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index e18462d0..8757e30c 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -2302,6 +2302,8 @@ void GameHandler::handlePacket(network::Packet& packet) { uint8_t paused = packet.readUInt8(); if (type < 3) { mirrorTimers_[type].paused = (paused != 0); + if (addonEventCallback_) + addonEventCallback_("MIRROR_TIMER_PAUSE", {paused ? "1" : "0"}); } break; }