mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 15:36:51 +00:00
remove status from cfg after reading a unit
This commit is contained in:
parent
c4915d9435
commit
72ad8a8f2f
@ -1013,6 +1013,7 @@ void unit::read(const config& cfg)
|
||||
states_["stoned"] = st->second;
|
||||
}
|
||||
}
|
||||
cfg_.remove_child("status",0);
|
||||
}
|
||||
if(cfg["ai_special"] == "guardian") {
|
||||
set_state("guardian","yes");
|
||||
|
Loading…
x
Reference in New Issue
Block a user