Fix: notify bot
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"golias/utils"
|
||||
"time"
|
||||
|
||||
@ -84,6 +85,7 @@ type Room struct {
|
||||
|
||||
// WhichBotToMove returns bot name that have to move or empty 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)
|
||||
if !r.IsRunning {
|
||||
return ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user