Code deleted when level opened

I was playing a level on Cloudrip Mountain. When I tried to open it, it gave me an error saying the code to initialize the world was too slow. I tried again, and when I got in, all of my code was deleted. Can anyone figure out how to get my code back?

Did you receive a infinite loop advisory message before opening it? Is that why, “the world was too slow?”