mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Merge branch 'develop' into battleonly
This commit is contained in:
@@ -246,7 +246,7 @@ std::optional<si32> CIdentifierStorage::getIdentifierImpl(const ObjectCallback &
|
||||
|
||||
if (idList.size() == 1)
|
||||
return idList.front().id;
|
||||
if (!silent)
|
||||
if (!silent && options.localScope != ModScope::scopeGame())
|
||||
showIdentifierResolutionErrorDetails(options);
|
||||
return std::optional<si32>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user