Disable skipping of ready-set-go in artist debug mode when networking

(can desynchronise client and server).
This commit is contained in:
hiker 2017-01-04 08:18:41 +11:00
parent e5c5870564
commit 2df97ebc39

View File

@ -283,6 +283,7 @@ void WorldStatus::updateTime(const float dt)
// In artist debug mode, when without opponents, skip the
// ready/set/go counter faster
if (UserConfigParams::m_artist_debug_mode &&
!NetworkConfig::get()->isNetworking() &&
race_manager->getNumberOfKarts() -
race_manager->getNumSpareTireKarts() == 1 &&
race_manager->getTrackName() != "tutorial")