1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix formatting

This commit is contained in:
Ivan Savenko 2022-12-28 22:22:05 +02:00
parent e6a83ad53b
commit 4f4a89e15d

View File

@ -177,14 +177,14 @@ QVariant CModEntry::getValue(QString value) const
auto & storage = useRepositoryData ? repository : localData;
if (storage.contains(langValue))
if(storage.contains(langValue))
{
auto langStorage = storage[langValue].toMap();
if (langStorage.contains(value))
return langStorage[value];
}
if (storage.contains(value))
if(storage.contains(value))
return storage[value];
return QVariant();