EverestAPI / SpringCollab2020

Code mod to be used for the 2020 Celeste Spring Community Collab.
MIT License
2 stars 0 forks source link

Fix flag toggle waterfall crash when used with underwater switch controller #181

Closed maddie480 closed 4 years ago

maddie480 commented 4 years ago

There was a crash in this specific case:

This PR works around that by computing the height / associated water pool when the waterfall is first turned on. In this situation, that means that the water spawned by the underwater switch controller is turned off when this computation occurs, and as such won't interfere.