1
0
forked from 0ad/0ad

fix an inconsistency in 3b6c612975, noticed by leper

This was SVN commit r20486.
This commit is contained in:
mimo 2017-11-20 18:30:21 +00:00
parent 9cdf20f123
commit 2bde5874a7

View File

@ -338,7 +338,7 @@ public:
CParamNode GetTemplate(const std::string& name)
{
if (!m_TemplateLoader.TemplateExists(name))
return NULL;
return CParamNode(false);
return m_TemplateLoader.GetTemplateFileData(name).GetChild("Entity");
}