ExOK / Celeste64

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

Fix cassette not saving #33

Closed JoshuaMadd closed 8 months ago

JoshuaMadd commented 8 months ago

Fixed the game not properly saving and exiting the level after collecting a cassette without a map property when you're not in a subarea.

This will allow map makers to end the level by picking up a cassette tape.

NoelFB commented 8 months ago

What does it currently do if the Map property is not assigned, just crash? I think this solution makes sense.

JoshuaMadd commented 8 months ago

If the map is not assigned it goes back to the level select screen but it doesn't actually save the game properly. Now it has the same behaviour as pressing "save & quit" in the pause menu.

NoelFB commented 8 months ago

That makes sense to me! Thanks!