[wesnoth-commits] [wesnoth/wesnoth] 3d5032: Tutorial S01: Synchronise the choice of character

Steve Cotton noreply at github.com
Wed Jul 28 23:12:27 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3d503203697bf46ab569330f5bdf35a363a000af
      https://github.com/wesnoth/wesnoth/commit/3d503203697bf46ab569330f5bdf35a363a000af
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M data/campaigns/tutorial/lua/character_selection.lua

  Log Message:
  -----------
  Tutorial S01: Synchronise the choice of character

This avoids showing the dialog during replays, and thus avoids an
OOS if the person watching the replay chooses the other character.


  Commit: 9369b520e7d2bce972a0a04958a9252d9caa778e
      https://github.com/wesnoth/wesnoth/commit/9369b520e7d2bce972a0a04958a9252d9caa778e
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M data/campaigns/Secrets_of_the_Ancients/utils/zombie_recruit_dialog.lua

  Log Message:
  -----------
  SotA: Synchronise the zombie recruitment dialog

This dialog works by setting variables in the postshow function,
so the code had to be moved around to ensure that those variables
were synchronised, not just the return value of the dialog.

The message about not having enough gold isn't necessary for the
replay, so that gets moved into the synchronised code too.


Compare: https://github.com/wesnoth/wesnoth/compare/57ce449af83f...9369b520e7d2



More information about the Commits mailing list