improve needs_select= deprecation message

This commit is contained in:
gfgtdf 2017-01-25 20:13:00 +01:00 committed by GitHub
parent 38b3320b76
commit fc40439fbc

View file

@ -313,7 +313,7 @@ void wml_menu_item::update(const vconfig & vcfg)
}
if ( vcfg.has_attribute("needs_select") ) {
ERR_NG << "needs_select=yes is deprecated\n";
ERR_NG << "needs_select= is deprecated\n";
needs_select_ = vcfg["needs_select"].to_bool();
}
if ( vcfg.has_attribute("synced") )