mirror of
https://github.com/minetest/minetest.git
synced 2025-07-06 09:50:23 +02: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:
@ -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");
|
||||
|
Reference in New Issue
Block a user