mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Allow quitting to menu if gamestate is EDITORMODE
Otherwise you wouldn't be able to quit from the editor normally.
This commit is contained in:
@@ -7177,7 +7177,7 @@ static void returntoeditor_callback(void)
|
||||
void Game::quittomenu(void)
|
||||
{
|
||||
#if !defined(NO_CUSTOM_LEVELS) && !defined(NO_EDITOR)
|
||||
if (map.custommode && !map.custommodeforreal)
|
||||
if (gamestate != EDITORMODE && map.custommode && !map.custommodeforreal)
|
||||
{
|
||||
/* We are playtesting! Go back to the editor
|
||||
* instead of losing unsaved changes. */
|
||||
|
||||
Reference in New Issue
Block a user