Yes it does mean that. It was probably written that way out of preference/chance; that is a perfectly acceptable construction. " implies more of a preplanned purpose behind the action, but either sentence works.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.