Fix: limit 0 because of too early call of notifybot

This commit is contained in:
Grail Finder
2025-07-07 12:32:23 +03:00
parent a2c5f17e30
commit 2751b6b9dc
4 changed files with 20 additions and 4 deletions

View File

@ -294,7 +294,7 @@ func getGuesser(m map[string]BotPlayer, team UserTeam) string {
func (r *Room) WhichBotToMove() string {
fmt.Println("looking for bot to move", "team-turn:", r.TeamTurn,
"mime-done:", r.MimeDone, "bot-map:", r.BotMap, "is_running:", r.IsRunning,
"blueMime:", r.BlueTeam.Mime, "redMime:", r.RedTeam.Mime)
"blueMime:", r.BlueTeam.Mime, "redMime:", r.RedTeam.Mime, "card-limit:", r.ThisTurnLimit, "opened:", r.OpenedThisTurn)
if !r.IsRunning {
return ""
}