Update config file naming in presence validation
This commit is contained in:
parent
16a65eea99
commit
736f04879f
@ -38,8 +38,8 @@ bool ConfigManager::verifyServerConfig()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Verify config files
|
// Verify config files
|
||||||
QStringList l_config_files{"config/config.ini", "config/areas.ini", "config/backgrounds.txt", "config/characters.txt", "config/music.txt",
|
QStringList l_config_files{"config/config.ini", "config/areas.ini", "config/backgrounds.txt", "config/characters.txt", "config/music.json",
|
||||||
"config/text/8ball.txt", "config/text/gimp.txt", "config/text/praise.txt", "config/text/reprimands.txt"};
|
"config/discord.ini", "config/text/8ball.txt", "config/text/gimp.txt", "config/text/praise.txt", "config/text/reprimands.txt"};
|
||||||
for (const QString &l_file : l_config_files) {
|
for (const QString &l_file : l_config_files) {
|
||||||
if (!fileExists(QFileInfo(l_file))) {
|
if (!fileExists(QFileInfo(l_file))) {
|
||||||
qCritical() << l_file + " does not exist!";
|
qCritical() << l_file + " does not exist!";
|
||||||
|
Loading…
Reference in New Issue
Block a user