That played a large role, but they were also pretty far behind Europe in military technology so I am almost certain they would have been conquered anyway. It would have just taken longer.
I'm no expert in the matter, but from what I've read it seems to me that the Mesoamerican civilizations in 1492 were probably at about the military level that the Eurasian civilizations had already reached in the first millenium BC.