The trigger defeats both players at once, but only if there are zero zombie capitals on the map. If you want the zombies to be defeated separately, use two triggers, one for each zombie player.
I didn't "phail". You simply misunderstood the trigger, which isn't a big deal. Don't hate your map, its fun just needs some fixing.
For memory leaks I'm going to send you to another website, actually three:
http://www.thehelper.net/forums/showthread.php?t=27242" onclick="window.open(this.href);return false;
http://www.thehelper.net/forums/showthread.php?t=27219" onclick="window.open(this.href);return false;
http://www.jx3.net/TDG/wiki/index.php/F ... mory_Leaks" onclick="window.open(this.href);return false;
(These are basically the same thing, find the one that you like most)
--3ICE
EDIT: I did a test, confirming that the trigger doesn't work. I also found the reason why:
The Infested cities are units.
When they die, they are still units.
(But with 0 hp, thus dead units)
The trigger condition disregards HP.
It counts in the dead cities too.
So that is why the trigger didn't work.
To fix: Remove infested cities upon their death.
A unit owned by dg dies.
A unit owned by brown dies.
Unit type is infested city
Unit - Remove (Triggering unit) from the game.
EDIT2: Also you have to wait 5 seconds or even more for the game for removing... war3 bug
So delete the condition and make an t_ifIf inside the actions.
And above that t_ifIf, put t_waiWait 5 seconds.