ExOK / Celeste64

A game made by the Celeste developers in a week(ish, closer to 2)
1.59k stars 125 forks source link

forget selected index in pause menu #39

Closed TheDrawingCoder-Gamer closed 5 months ago

TheDrawingCoder-Gamer commented 5 months ago

resets the index of selected item in pause menu to 0 upon unpause. Makes pause -> retry more consistent

NoelFB commented 5 months ago

This is good, but can you unset it in the SetPaused method instead?

so:

if (!paused) pauseMenu.Index = 0;

I think that's more general purpose in case the pause menu gets closed through other means.

NoelFB commented 5 months ago

Thanks!