fix: correct variable name in RoundCheckSteamPlaying function to use gameList instead of gamePlayingMap for accurate game status reporting

This commit is contained in:
lixiangwuxian 2025-01-15 14:58:40 +08:00
parent 7eeee665ee
commit f9be1e6464

View File

@ -213,7 +213,7 @@ func RoundCheckSteamPlaying() {
} }
} }
if len(gamePlayingMap) > 0 && !once { if len(gameList) > 0 && !once {
msg := model.Reply{ msg := model.Reply{
ReplyMsg: "速报:\n" + strings.Join(gameList, "\n"), ReplyMsg: "速报:\n" + strings.Join(gameList, "\n"),
ReferOriginMsg: false, ReferOriginMsg: false,