mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Reset cliplaytest when exiting to menu and check it when loading
This fixes a bug where quitting to the menu from command-line playtesting with -playassets specified would always use those assets when loading back in to any custom level. This also fixes loading in to a custom level quicksave always using the command-line playtesting arguments instead of using the actual quicksave.
This commit is contained in:
@@ -1751,7 +1751,7 @@ bool editorclass::load(std::string& _path)
|
||||
}
|
||||
|
||||
FILESYSTEM_unmountAssets();
|
||||
if (game.playassets != "")
|
||||
if (game.cliplaytest && game.playassets != "")
|
||||
{
|
||||
FILESYSTEM_mountAssets(game.playassets.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user