mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-23 12:08:45 +02:00
fix
This commit is contained in:
parent
4bcfb8c27d
commit
8ed6aa762b
@ -749,7 +749,7 @@ void CMapLoaderJson::MapObjectLoader::construct()
|
|||||||
|
|
||||||
//TODO:consider move to ObjectTypeHandler
|
//TODO:consider move to ObjectTypeHandler
|
||||||
//find type handler
|
//find type handler
|
||||||
std::string typeName = configuration["type"].String(), subTypeName = configuration["subType"].String();
|
std::string typeName = configuration["type"].String(), subTypeName = configuration["subtype"].String();
|
||||||
if(typeName.empty())
|
if(typeName.empty())
|
||||||
{
|
{
|
||||||
logGlobal->errorStream() << "Object type missing";
|
logGlobal->errorStream() << "Object type missing";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user