MP Staging: simplify a call
This commit is contained in:
parent
5395fcd106
commit
b56dcb38c2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue