[Commits] [wesnoth/wesnoth] fcf827: fix bug in feeding code

GitHub noreply at github.com
Sat Nov 11 12:50:37 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: fcf8272abf0c14ac25c131033aed79b21bc52225
      https://github.com/wesnoth/wesnoth/commit/fcf8272abf0c14ac25c131033aed79b21bc52225
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2017-11-11 (Sat, 11 Nov 2017)

  Changed paths:
    M data/lua/feeding.lua

  Log Message:
  -----------
  fix bug in feeding code

wesnoth.current.event_context might not contain all information if the die event was triggered by wml ([fire_event]), this made wesnoth.get_unit error (invalid argument)





More information about the Commits mailing list