Rez: fix error reporting bug - report in phase two instead of phase 1

This commit is contained in:
Wolfgang Thaller 2018-01-07 12:59:44 +01:00
parent e40a4c76a1
commit b585d65962

View File

@ -147,7 +147,7 @@ int ResourceCompiler::getArrayIndex(const std::string &arrayName)
void ResourceCompiler::problem(Diagnostic d)
{
if(prePass)
if(!prePass)
world.problem(d);
}