Chore: remove unused WCMap

This commit is contained in:
Grail Finder
2025-07-04 21:48:01 +03:00
parent 3af3657c7a
commit 3e9a93fbb1
5 changed files with 38 additions and 26 deletions

View File

@ -68,7 +68,8 @@ func (b *Bot) checkGuesses(tempMap map[string]any, room *models.Room) error {
}
func (b *Bot) checkGuess(word string, room *models.Room) error {
color, exists := room.WCMap[word]
// color, exists := room.WCMap[word]
color, exists := room.FindColor(word)
b.log.Debug("bot trying to open card", "word", word, "color",
color, "exists", exists, "limit", room.ThisTurnLimit,
"opened", room.OpenedThisTurn)