Win condition not triggering bug

Yes… is this a bug? We tried playing multiplayer with few AI , split into 2 teams. After wiping out AI teams the game doesn’t end. Tried a few maps and they’re the same. How can something this basic be broken?