I can't beat Sargon's last mission

It seems like the trigger based on the number of ruins is incorrect.