diff --git a/cmd/screp/screp.go b/cmd/screp/screp.go index 561297f..af8ce07 100644 --- a/cmd/screp/screp.go +++ b/cmd/screp/screp.go @@ -24,7 +24,7 @@ import ( const ( appName = "screp" - appVersion = "v1.12.0" + appVersion = "v1.12.1" appAuthor = "Andras Belicza" appHome = "https://github.com/icza/screp" ) diff --git a/rep/replay.go b/rep/replay.go index 7e529f4..cb073b1 100644 --- a/rep/replay.go +++ b/rep/replay.go @@ -158,9 +158,13 @@ func (r *Replay) Compute() { mapName = strings.ToLower(stringsx.Clean(mapName)) // "[ai]" maps are special, we can do better than in general: switch { + + case mapName == " hunters kespa soulclan ai" || mapName == ":da hunters ai": + fallthrough case strings.Contains(mapName, "[ai]") || strings.Contains(mapName, "ai hunters") || strings.Contains(mapName, "bgh random teams"): r.detectObservers(pidBuilds, obsProfileUMSAI) r.computeUMSTeamsAI() + default: r.computeUMSTeams() } diff --git a/repparser/repparser.go b/repparser/repparser.go index 07965d3..ab85bb0 100644 --- a/repparser/repparser.go +++ b/repparser/repparser.go @@ -60,7 +60,7 @@ import ( const ( // Version is a Semver2 compatible version of the parser. - Version = "v1.12.0" + Version = "v1.12.1" ) var (