[Commits] [wesnoth/wesnoth] 95b2d8: Connect Engine: fix sides with their controller se...

GitHub noreply at github.com
Sat Feb 25 18:56:40 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 95b2d8c4e536e86caa661f4d5893870429d2c08b
      https://github.com/wesnoth/wesnoth/commit/95b2d8c4e536e86caa661f4d5893870429d2c08b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-02-26 (Sun, 26 Feb 2017)

  Changed paths:
    M src/game_initialization/connect_engine.cpp

  Log Message:
  -----------
  Connect Engine: fix sides with their controller set as Empty still getting a leader

At some point in porting the MP Staging dialog to GUI2, I must have changed some behavior so that a leader still gets
selected and written to the config even if the controller is set to empty. Since the presence of a type= key overrides
no_leader, I just added an explicit check for the latter before writing type=.





More information about the Commits mailing list