SuperTux / supertux

SuperTux source code
https://supertux.org
GNU General Public License v3.0
2.5k stars 479 forks source link

Reset spawn fade type when using Level.spawn() #2957

Closed Brockengespenst closed 4 months ago

Brockengespenst commented 4 months ago

Resolves an issue that Level.spawn() script won't work after a door has been used. The fade type needs to be reset to NONE to match the condition for respawning via Level.spawn(). By using a door it is set to a CIRCLE and that makes the respawn logic to require the fade timer to be finished, but Level.spawn() does not start this timer.

Fixes #2956 Fixes #2959