Skip to content

Commit

Permalink
'current_player' shouldn't default to 'save_id'
Browse files Browse the repository at this point in the history
this doesn't make sense, specially because 'current_player' is a string
used to display in dialogs and 'save_id' is an internal id string

https://gna.org/bugs/?22324,
  • Loading branch information
gfgtdf committed Mar 8, 2016
1 parent fcf8619 commit 0d254fb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/team.cpp
Expand Up @@ -184,9 +184,6 @@ void team::team_info::read(const config &cfg)
if(save_id.empty()) {
save_id = id;
}
if (current_player.empty()) {
current_player = save_id;
}

income_per_village = cfg["village_gold"].to_int(game_config::village_income);
recall_cost = cfg["recall_cost"].to_int(game_config::recall_cost);
Expand Down

0 comments on commit 0d254fb

Please sign in to comment.