[wesnoth-commits] [wesnoth/wesnoth] 32c107: Tutorial S01: Synchronise the choice of character

Steve Cotton noreply at github.com
Fri Jul 30 04:40:54 UTC 2021


  Branch: refs/heads/1.16
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 32c107b79727bf1a76595d69e9f03d040de01c61
      https://github.com/wesnoth/wesnoth/commit/32c107b79727bf1a76595d69e9f03d040de01c61
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-07-30 (Fri, 30 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.

(cherry picked from commit 3d503203697bf46ab569330f5bdf35a363a000af)


  Commit: 7d10aad57f3ab90577274a6ce5681afd0571ec9f
      https://github.com/wesnoth/wesnoth/commit/7d10aad57f3ab90577274a6ce5681afd0571ec9f
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-07-30 (Fri, 30 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.

(cherry picked from commit 9369b520e7d2bce972a0a04958a9252d9caa778e)


Compare: https://github.com/wesnoth/wesnoth/compare/417aae61bebd...7d10aad57f3a



More information about the Commits mailing list