mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Call hardreset() when returning to menu from editor
During testing, I made a cursed level that set the flash timer to precisely 1,000,000 frames. It turns out that if I activated the timer in playtesting, exited playtesting, and exited the editor without ever re-entering playtesting, the timer still kept going. So to prevent being able to do that, we should hardreset() when exiting the editor.
This commit is contained in:
@@ -3451,6 +3451,7 @@ void editorlogic()
|
||||
map.nexttowercolour();
|
||||
map.colstate = 10;
|
||||
game.gamestate = TITLEMODE;
|
||||
script.hardreset();
|
||||
graphics.fademode = 4;
|
||||
music.haltdasmusik();
|
||||
music.play(6);
|
||||
|
||||
Reference in New Issue
Block a user