From 78b0b63f908a34ac6c242318f928d7a0893f40c3 Mon Sep 17 00:00:00 2001 From: lixiangwuxian Date: Sun, 9 Mar 2025 01:06:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96Steam=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E9=87=8D=E5=A4=8D=E7=99=BB=E5=BD=95=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/steamplaying/steam_playing.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/handler/steamplaying/steam_playing.go b/handler/steamplaying/steam_playing.go index 1e9b415..203b56c 100644 --- a/handler/steamplaying/steam_playing.go +++ b/handler/steamplaying/steam_playing.go @@ -249,7 +249,11 @@ func RoundCheckSteamPlaying() { } } if exitInfo.GameID == currentGameID && time.Since(exitInfo.ExitTime) <= 30*time.Minute { - // 30分钟内重新登录同一游戏,不发送通知 + // 30分钟内重新登录同一游戏,更新退出时间并跳过通知 + exitInfoMap[steamId] = GameExitInfo{ + GameID: currentGameID, + ExitTime: time.Now(), + } continue } // 清除退出记录