Fix: save bot actions

This commit is contained in:
Grail Finder
2025-07-05 11:30:58 +03:00
parent eef4b7941b
commit de2cccf66d
6 changed files with 36 additions and 22 deletions

View File

@ -120,7 +120,7 @@ func HandleShowColor(w http.ResponseWriter, r *http.Request) {
fi.Room.ClearMarks()
StopTurnTimer(fi.Room.ID)
case string(models.WordColorWhite), string(oppositeColor):
log.Debug("opened opposite color word", "room", fi.Room, "opposite-color", oppositeColor)
log.Debug("opened white or opposite color word", "word", word, "opposite-color", oppositeColor)
// end turn
fi.Room.TeamTurn = oppositeColor
fi.Room.MimeDone = false