Revert 2011-11-06T02:00:06Z!anonymissimus@arcor.de and 2011-11-06T02:00:24Z!anonymissimus@arcor.de.

I didn't consider the mp aspect of this.
This commit is contained in:
Anonymissimus 2011-11-06 02:34:41 +00:00
parent 645b847525
commit 7bde1fc003

View file

@ -782,11 +782,8 @@ protected:
log_step("objectives");
// If this team has no objectives, set its objectives
// to the level-global "objectives"
const config::attribute_value objectives = level_["objectives"];
if (!objectives.blank()) {
WRN_NG << "[scenario]objectives= is deprecated, use [event][objectives]\n";
if(t_->objectives().empty()) t_->set_objectives(objectives.t_str(), false);
}
if (t_->objectives().empty())
t_->set_objectives(level_["objectives"], false);
}