mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-10 13:09:43 +01: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:
parent
edb930344a
commit
585ff51ec6
1 changed files with 1 additions and 0 deletions
|
@ -3451,6 +3451,7 @@ void editorlogic()
|
|||
map.nexttowercolour();
|
||||
map.colstate = 10;
|
||||
game.gamestate = TITLEMODE;
|
||||
script.hardreset();
|
||||
graphics.fademode = 4;
|
||||
music.haltdasmusik();
|
||||
music.play(6);
|
||||
|
|
Loading…
Reference in a new issue