Chore: remove unused WCMap
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user