mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-13 16:43:49 +00:00
fix duplicated events from era and modification
This commit is contained in:
parent
f4538f6b02
commit
c544d1beec
@ -558,7 +558,7 @@ config& config::add_child_at_total(config_key_type key, const config &val, size_
|
||||
assert(pos <= ordered_children.size());
|
||||
if(pos == ordered_children.size()) {
|
||||
//optimisation
|
||||
config::add_child(key, val);
|
||||
return config::add_child(key, val);
|
||||
}
|
||||
|
||||
auto end = ordered_children.end();
|
||||
|
Loading…
x
Reference in New Issue
Block a user