This commit is contained in:
gfgtdf 2017-04-19 01:32:09 +02:00 committed by GitHub
parent eac013be82
commit cad5760da0

View file

@ -59,7 +59,7 @@ config random_generate_scenario(const std::string& name, const config &cfg)
std::unique_ptr<map_generator> generator(create_map_generator(name,cfg));
if(generator == nullptr) {
std::stringstream ss;
ss << "could not find map generator '" << parameters.front() << "'";
ss << "could not find map generator '" << name << "'";
throw mapgen_exception(ss.str());
}