[Commits] [wesnoth/wesnoth] 6826e1: MP Options Helper: skip any game, era, or mod with...

GitHub noreply at github.com
Sat Oct 22 14:18:43 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6826e112f0f69032a4276a8d4a8c370a46015035
      https://github.com/wesnoth/wesnoth/commit/6826e112f0f69032a4276a8d4a8c370a46015035
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
    M src/gui/dialogs/multiplayer/mp_options_helper.cpp

  Log Message:
  -----------
  MP Options Helper: skip any game, era, or mod with no [options] subtag

Previously, these would still get included in the final options config and result in a [type] id = tag being saved
in prefs with no [option] tags. When loaded in the constructor, this would pollute the options_data_ map, which would
then in turn pollute the resulting config further, ad infinitum.





More information about the Commits mailing list