add a comment for the system prefs file.

This commit is contained in:
pentarctagon 2024-05-17 11:53:00 -05:00 committed by Pentarctagon
parent bf4b38b6d0
commit 927937bd8c

View file

@ -240,6 +240,8 @@ config* get_prefs(){
void load_base_prefs() {
try{
#ifdef DEFAULT_PREFS_PATH
// NOTE: the system preferences file is only ever relevant for the first time wesnoth starts
// any default values will subsequently be written to the normal preferences file, which takes precedence over any values in the system preferences file
filesystem::scoped_istream stream = filesystem::istream_file(filesystem::get_default_prefs_file(),false);
read(prefs, *stream);