[wesnoth-commits] [wesnoth/wesnoth] c0843f: Fix the MP lobby reloaded indicator always saying ...

Pentarctagon noreply at github.com
Sun Oct 6 15:31:22 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c0843fe1a67bc6f9fbb57b2ba791fb30c7b03fa2
      https://github.com/wesnoth/wesnoth/commit/c0843fe1a67bc6f9fbb57b2ba791fb30c7b03fa2
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2019-10-06 (Sun, 06 Oct 2019)

  Changed paths:
    M src/game_initialization/lobby_data.cpp

  Log Message:
  -----------
  Fix the MP lobby reloaded indicator always saying the game isn't reloaded.

Currently, the value of `game["savegame"]` is one of `mp_game_settings::SAVED_GAME_MODE`.  However, the `to_bool()` function doesn't recognize any of those values as being true, so a game is always shown in the MP lobby as not being a reload, even if it actually is.





More information about the Commits mailing list