mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Fix formatting
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user