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:
parent
645b847525
commit
7bde1fc003
1 changed files with 2 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue