mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow relative directories for screenshot_path
, tweak default path (#9122)
This will likely be more intuitive for users and should play better with sandboxed distributions such as Flatpak. In addition, the screenshot directory will now be created if it doesn't exist already.
This commit is contained in:
parent
661b4a1837
commit
f45ba78a72
3 changed files with 16 additions and 4 deletions
|
@ -48,7 +48,7 @@ void set_default_settings(Settings *settings)
|
|||
settings->setDefault("pitch_move", "false");
|
||||
settings->setDefault("fast_move", "false");
|
||||
settings->setDefault("noclip", "false");
|
||||
settings->setDefault("screenshot_path", ".");
|
||||
settings->setDefault("screenshot_path", "screenshots");
|
||||
settings->setDefault("screenshot_format", "png");
|
||||
settings->setDefault("screenshot_quality", "0");
|
||||
settings->setDefault("client_unload_unused_data_timeout", "600");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue