Update advancement.cpp
This commit is contained in:
parent
307d1d1d44
commit
5386841088
1 changed files with 1 additions and 0 deletions
|
@ -347,6 +347,7 @@ void advance_unit(map_location loc, const advancement_option &advance_to, bool f
|
|||
preferences::encountered_units().insert(new_unit->type_id());
|
||||
LOG_CF << "Added '" << new_unit->type_id() << "' to the encountered units.\n";
|
||||
}
|
||||
u->anim_comp().clear_haloes();
|
||||
resources::gameboard->units().erase(loc);
|
||||
resources::whiteboard->on_kill_unit();
|
||||
u = resources::gameboard->units().insert(new_unit).first;
|
||||
|
|
Loading…
Add table
Reference in a new issue