[wesnoth-commits] [wesnoth/wesnoth] 025832: Lua: fix wesnoth.interface.move_unit_fake

sevu noreply at github.com
Sun Sep 20 15:17:26 UTC 2020


  Branch: refs/heads/unit_placed_events
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 025832669800a59ca1ff5f9361481a2f50f808ee
      https://github.com/wesnoth/wesnoth/commit/025832669800a59ca1ff5f9361481a2f50f808ee
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2020-09-20 (Sun, 20 Sep 2020)

  Changed paths:
    M data/lua/core.lua

  Log Message:
  -----------
  Lua: fix wesnoth.interface.move_unit_fake


  Commit: 3e2e0ff6a9c243bed19766e9e76961c808c4a8cb
      https://github.com/wesnoth/wesnoth/commit/3e2e0ff6a9c243bed19766e9e76961c808c4a8cb
  Author: Severin Glöckner <severin.gloeckner at stud.htwk-leipzig.de>
  Date:   2020-09-20 (Sun, 20 Sep 2020)

  Changed paths:
    M data/lua/core.lua
    M data/lua/diversion.lua
    M data/lua/feeding.lua
    M data/lua/wml-tags.lua
    M data/lua/wml/harm_unit.lua
    M data/lua/wml/move_unit.lua

  Log Message:
  -----------
  Lua: don't trigger unit placed events by WML tags

If the last argument to the C++ function ( game_lua_kernel::intf_put_unit )
is false, event's won't be fired.

closes #5158


Compare: https://github.com/wesnoth/wesnoth/compare/025832669800%5E...3e2e0ff6a9c2



More information about the Commits mailing list