From f9be1e64647baa8e1c0126b4e931bb23f132ef9a Mon Sep 17 00:00:00 2001 From: lixiangwuxian Date: Wed, 15 Jan 2025 14:58:40 +0800 Subject: [PATCH] fix: correct variable name in RoundCheckSteamPlaying function to use gameList instead of gamePlayingMap for accurate game status reporting --- handler/steamplaying/steam_playing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/steamplaying/steam_playing.go b/handler/steamplaying/steam_playing.go index 5543fc3..a2c4c02 100644 --- a/handler/steamplaying/steam_playing.go +++ b/handler/steamplaying/steam_playing.go @@ -213,7 +213,7 @@ func RoundCheckSteamPlaying() { } } - if len(gamePlayingMap) > 0 && !once { + if len(gameList) > 0 && !once { msg := model.Reply{ ReplyMsg: "速报:\n" + strings.Join(gameList, "\n"), ReferOriginMsg: false,