1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

revert handlers

This commit is contained in:
Laserlicht
2025-09-28 20:34:48 +02:00
parent 5da8a7a4dc
commit e6def84135
4 changed files with 25 additions and 33 deletions

View File

@@ -74,7 +74,8 @@ std::vector<GameResID> ResourceTypeHandler::getAllObjects() const
std::vector<GameResID> result;
for (const auto & resource : objects)
result.push_back(resource->getId());
if(resource)
result.push_back(resource->getId());
return result;
}