Skip to content

Commit

Permalink
MP Staging: simplify a call
Browse files Browse the repository at this point in the history
(cherry-picked from commit 99c2ed8)
  • Loading branch information
Vultraz committed Oct 7, 2018
1 parent f02bcd8 commit 0b4e268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/dialogs/multiplayer/mp_staging.cpp
Expand Up @@ -415,7 +415,7 @@ void mp_staging::on_side_slider_change(ng::side_engine_ptr side, slider& slider)

void mp_staging::update_leader_display(ng::side_engine_ptr side, grid& row_grid)
{
const std::string current_faction = (*side->flg().choosable_factions()[side->flg().current_faction_index()])["name"];
const std::string current_faction = side->flg().current_faction()["name"];

// BIG FAT TODO: get rid of this shitty "null" string value in the FLG manager
std::string current_leader = side->flg().current_leader() != "null" ? side->flg().current_leader() : font::unicode_em_dash;
Expand Down

0 comments on commit 0b4e268

Please sign in to comment.