No, it's just that it randomly made me go onto level 10
(I thought it was a sort of grace mechanic, like how if you stay too long on a level it would put you onto the next level)
Haha, I had no idea about that. I definitely didn't purposely code that in. Though I may add something like that in future, I wouldn't do it without notifying the player first.
Did the level just end after you died and loaded up level 10?
Yep