Allow 0 laps GP in artist debug mode.
This commit is contained in:
parent
db6ea0e740
commit
c92f369cdd
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user