mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 00:17:21 +00:00
fix persitence of "init_side_done"
previously cfg.merge_attributes(level_); could overwrite "init_side_done"
This commit is contained in:
parent
c33fbc3c63
commit
f2e4d3c875
@ -477,8 +477,8 @@ config play_controller::to_config() const
|
||||
{
|
||||
config cfg;
|
||||
|
||||
cfg["init_side_done"] = init_side_done_;
|
||||
cfg.merge_attributes(level_);
|
||||
cfg["init_side_done"] = init_side_done_;
|
||||
|
||||
gamestate_.write(cfg);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user