diff --git a/src/plugins/world_control/WorldControl.cc b/src/plugins/world_control/WorldControl.cc index ebdc0f54b..b6a0ca48c 100644 --- a/src/plugins/world_control/WorldControl.cc +++ b/src/plugins/world_control/WorldControl.cc @@ -162,7 +162,8 @@ void WorldControl::LoadConfig(const tinyxml2::XMLElement *_pluginElem) if (has) { auto startPaused = this->dataPtr->pause; - if (const auto *pausedElem = _pluginElem->FirstChildElement("start_paused")) + if (const auto *pausedElem = + _pluginElem->FirstChildElement("start_paused")) { pausedElem->QueryBoolText(&startPaused); }