Hide level path by default

You will now need to go through another confirm menu in order to print
your level path. The confirm menu warns you may leak sensitive
information if you are streaming.

Screenshots:
https://i.imgur.com/0Dc9jsZ.png
https://i.imgur.com/UhDgXqj.png
https://i.imgur.com/Z0ftQnH.png

Fixes #853.
This commit is contained in:
Misa
2021-12-22 00:58:27 -08:00
parent 8ba1325d0f
commit f7454baffa
4 changed files with 42 additions and 19 deletions

View File

@@ -5947,10 +5947,20 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
option("level editor");
#endif
option("open level folder", FILESYSTEM_openDirectoryEnabled());
option("show level folder path");
option("back to menu");
menuyoff = -40;
maxspacing = 15;
break;
case Menu::confirmshowlevelspath:
option("no, don't show me");
option("yes, reveal the path");
menuyoff = -10;
break;
case Menu::showlevelspath:
option("return to levels");
menuyoff = 60;
break;
case Menu::levellist:
if(cl.ListOfMetaData.size()==0)
{