mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-20 16:15:40 +00:00
make editor search for scenario_generation too
This commit is contained in:
parent
8b426ebee5
commit
ce7189d628
@ -626,7 +626,7 @@ void context_manager::init_map_generators(const config& game_config)
|
||||
{
|
||||
BOOST_FOREACH(const config &i, game_config.child_range("multiplayer")) {
|
||||
|
||||
if (!i["map_generation"].empty()) {
|
||||
if (!i["map_generation"].empty() || !i["scenario_generation"].empty()) {
|
||||
|
||||
const config &generator_cfg = i.child("generator");
|
||||
if (!generator_cfg) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user