Add screenshots directory to game version dialogue.

Resolves #7096.
This commit is contained in:
Wedge009 2022-11-06 18:02:35 +11:00 committed by Pentarctagon
parent 540b3a1fe3
commit 765cf1e79f
2 changed files with 3 additions and 0 deletions

View file

@ -138,6 +138,8 @@
{_GUI_GAME_PATHS_ENTRY logs ( _ "Logs:")}
{_GUI_GAME_PATHS_ENTRY screenshots ( _ "Screenshots:")}
[/grid]
[/column]

View file

@ -73,6 +73,7 @@ game_version::game_version()
path_map_["cache"] = filesystem::get_cache_dir();
// path to logs directory
path_map_["logs"] = filesystem::get_logs_dir();
path_map_["screenshots"] = filesystem::get_screenshot_dir();
for(unsigned k = 0; k < game_config::LIB_COUNT; ++k) {
const game_config::LIBRARY_ID lib = game_config::LIBRARY_ID(k);