File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5146,10 +5146,11 @@ int32_t OnSaveZCConfig()
51465146
51475147int32_t OnnClearQuestDir ()
51485148{
5149+ auto current_path = fs::current_path () / " quests" ;
51495150 if (jwin_alert3 (
51505151 " Clear Current Directory Cache" ,
5151- " Are you sure that you wish to clear the current cached directory ?" ,
5152- " This will default the current directory to `<ROOT>/quests` for this instance of ZC Player! " ,
5152+ " Are you sure that you wish to reset where ZC Player looks for quests ?" ,
5153+ fmt::format ( " The new directory will be: {} " , current_path. string ()). c_str () ,
51535154 NULL ,
51545155 " &Yes" ,
51555156 " &No" ,
@@ -5159,9 +5160,9 @@ int32_t OnnClearQuestDir()
51595160 0 ,
51605161 get_zc_font (font_lfont)) == 1 )
51615162 {
5162- zc_set_config (" zeldadx" ," quest_dir" ," " );
5163+ zc_set_config (" zeldadx" ," quest_dir" ," quests " );
51635164 flush_config_file ();
5164- strcpy (qstdir," " );
5165+ strcpy (qstdir," quests " );
51655166#ifdef __EMSCRIPTEN__
51665167 em_sync_fs ();
51675168#endif
You can’t perform that action at this time.
0 commit comments