Skip to content

Commit

Permalink
remove transfered sides from [carryover_sides]
Browse files Browse the repository at this point in the history
instead of just removing the units

if they are used in the current scenario
  • Loading branch information
gfgtdf committed Jun 15, 2014
1 parent 4260aec commit e92085a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/carryover.cpp
Expand Up @@ -242,8 +242,7 @@ void carryover_info::transfer_all_to(config& side_cfg){
iside->transfer_all_gold_to(side_cfg);
iside->transfer_all_recalls_to(side_cfg);
iside->transfer_all_recruits_to(side_cfg);
//TODO: enable the following line after some testing.
//carryover_sides_.erase(iside);
carryover_sides_.erase(iside);
return;
}
else
Expand Down

0 comments on commit e92085a

Please sign in to comment.