Fix: llm mime to set openthisturn to 0

This commit is contained in:
Grail Finder
2025-07-06 07:47:59 +03:00
parent e9b9b9e559
commit f97d91ac74
3 changed files with 6 additions and 0 deletions

View File

@ -257,6 +257,7 @@ func (b *Bot) BotMove() {
if err != nil {
b.log.Warn("failed to parse bot given limit", "mimeResp", mimeResp, "bot_name", b.BotName)
}
room.OpenedThisTurn = 0 // in case it is not
room.ThisTurnLimit = uint8(guessLimitU64)
if room.ThisTurnLimit == 0 {
b.log.Warn("turn limit is 0", "mimeResp", mimeResp)