parent
fda634af12
commit
b3e63cb173
1 changed files with 1 additions and 0 deletions
|
@ -351,6 +351,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