mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 22:34:21 +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:
1 parent
24ef59c65e
commit
25b4361563
1 file changed
+1
-1
@@ -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