Fixed several more cases of incorrect scope for identifiers resolving

This commit is contained in:
Ivan Savenko
2022-12-21 23:02:19 +04:00
committed by Nordsoft91
parent 23cb47b457
commit 26985600b2
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ std::vector<bool> CSkillHandler::getDefaultAllowed() const
si32 CSkillHandler::decodeSkill(const std::string & identifier)
{
auto rawId = VLC->modh->identifiers.getIdentifier(CModHandler::scopeBuiltin(), "skill", identifier);
auto rawId = VLC->modh->identifiers.getIdentifier(CModHandler::scopeMap(), "skill", identifier);
if(rawId)
return rawId.get();
else