Well if you've done no damage then yes you were lucky.
You do still need to find out what caused the over heating though, otherwise you'll end up ruining it - especially with summer on the way.
Did the bike lose any performance? Did the engine smell or sound hotter than usual (lots of pinging and clicking as it cooled)? What temperature does it normally run at? Do you often do an indicated 55 or 68mph on it?
Given that it's a 50cc, how are you getting 68mph out of it? Is it over-bored? Is it tuned? If it's tuned, how have you tuned it? Is it carburettor or injection? If it's carburettor, have you re-jetted it since tuning it?
Could it have suffered petrol starvation? Was it low on petrol? Is the petrol dirty? Has the bike been standing for a length of time?
Does it run premix, or is the oil pumped in from a separate tank? In either case could the oil/fuel ratio have been wrong?
There are a million other questions we can ask - over heating can be caused by a lot of things, but I thought I'd check these first before delving into the ignition and cooling systems...
arrrf.