Allow 0 laps GP in artist debug mode.

This commit is contained in:
hiker 2016-05-06 16:47:05 +10:00
parent db6ea0e740
commit c92f369cdd

View File

@ -329,7 +329,7 @@ void GrandPrixData::reload()
throw std::runtime_error("Missing track id");
}
if (number_of_laps < 1)
if (number_of_laps < 1 && !UserConfigParams::m_artist_debug_mode)
{
Log::error("GrandPrixData",
"Track '%s' in the Grand Prix file '%s' should be raced "