File diff r25654:e264fd698eb2 → r25655:1030dcb7eb52
src/settings.cpp
Show inline comments
 
@@ -1268,7 +1268,7 @@ static void AILoadConfig(IniFile *ini, c
 
		config->Change(item->name.c_str());
 
		if (!config->HasScript()) {
 
			if (item->name != "none") {
 
				DEBUG(script, 0, "The AI by the name '%s' was no longer found, and removed from the list.", item->name.c_str());
 
				Debug(script, 0, "The AI by the name '{}' was no longer found, and removed from the list.", item->name);
 
				continue;
 
			}
 
		}
 
@@ -1295,7 +1295,7 @@ static void GameLoadConfig(IniFile *ini,
 
	config->Change(item->name.c_str());
 
	if (!config->HasScript()) {
 
		if (item->name != "none") {
 
			DEBUG(script, 0, "The GameScript by the name '%s' was no longer found, and removed from the list.", item->name.c_str());
 
			Debug(script, 0, "The GameScript by the name '{}' was no longer found, and removed from the list.", item->name);
 
			return;
 
		}
 
	}