aboutsummaryrefslogtreecommitdiff
path: root/src/text_file_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/text_file_functions.cpp')
-rw-r--r--src/text_file_functions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp
index 46e7511e..59b684f4 100644
--- a/src/text_file_functions.cpp
+++ b/src/text_file_functions.cpp
@@ -1114,3 +1114,9 @@ QStringList AOApplication::get_mount_paths()
{
return configini->value("mount_paths").value<QStringList>();
}
+
+bool AOApplication::get_player_count_optout()
+{
+ return configini->value("player_count_optout", "false").value<QString>()
+ .startsWith("true");
+}