DarkRadiant: master 6b02dc46

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 2020-03-18 21:23:41 master 2a1fb1ba
Changeset Minor refactor of DifficultyEditor construction

Merge the two separate loops into a single loop which constructs each
DifficultyEditor, adds it to the internal list and then inserts it as a
choicebook page. This means that DifficultyEditor no longer needs to store and
return its own label since the text is already known in the population loop.
mod - plugins/dm.difficulty/DifficultyDialog.cpp Diff File
mod - plugins/dm.difficulty/DifficultyEditor.cpp Diff File
mod - plugins/dm.difficulty/DifficultyEditor.h Diff File