mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-14 10:12:59 +02:00
Use mod ID instead of translated mod name for console output
This commit is contained in:
parent
a80f65439b
commit
3fccd85500
@ -266,9 +266,9 @@ void CModHandler::load()
|
||||
const auto & modInfo = getModInfo(modName);
|
||||
bool isValid = content->preloadData(modInfo, isModValidationNeeded(modInfo));
|
||||
if (isValid)
|
||||
logGlobal->info("\t\tParsing mod: OK (%s)", modInfo.getName());
|
||||
logGlobal->info("\t\tParsing mod: OK (%s)", modInfo.getID());
|
||||
else
|
||||
logGlobal->warn("\t\tParsing mod: Issues found! (%s)", modInfo.getName());
|
||||
logGlobal->warn("\t\tParsing mod: Issues found! (%s)", modInfo.getID());
|
||||
|
||||
if (!isValid)
|
||||
validationPassed.erase(modName);
|
||||
@ -280,9 +280,9 @@ void CModHandler::load()
|
||||
const auto & modInfo = getModInfo(modName);
|
||||
bool isValid = content->load(getModInfo(modName), isModValidationNeeded(getModInfo(modName)));
|
||||
if (isValid)
|
||||
logGlobal->info("\t\tLoading mod: OK (%s)", modInfo.getName());
|
||||
logGlobal->info("\t\tLoading mod: OK (%s)", modInfo.getID());
|
||||
else
|
||||
logGlobal->warn("\t\tLoading mod: Issues found! (%s)", modInfo.getName());
|
||||
logGlobal->warn("\t\tLoading mod: Issues found! (%s)", modInfo.getID());
|
||||
|
||||
if (!isValid)
|
||||
validationPassed.erase(modName);
|
||||
|
Loading…
Reference in New Issue
Block a user