unit_create: Remove debug check
It's not needed in this debug-only dialog. Thanks @ProditorMagnus
This commit is contained in:
parent
5845684ee0
commit
c56245958d
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ void unit_create::pre_show(window& window)
|
|||
row_data.emplace("race", column);
|
||||
|
||||
column["label"] = units_.back()->type_name();
|
||||
if(game_config::debug && strcmp(units_.back()->type_name().c_str(), units_.back()->id().c_str()))
|
||||
if(strcmp(units_.back()->type_name().c_str(), units_.back()->id().c_str()))
|
||||
column["label"] += " (" + units_.back()->id() + ")";
|
||||
row_data.emplace("unit_type", column);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue