[Commits] [wesnoth/wesnoth] ae8017: Lua AIs: fix bug occurring when number= in an atta...

GitHub noreply at github.com
Wed May 20 02:54:19 UTC 2015


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ae8017d8d2e4026d57a5e0c90819da8fea494adf
      https://github.com/wesnoth/wesnoth/commit/ae8017d8d2e4026d57a5e0c90819da8fea494adf
  Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M data/ai/lua/battle_calcs.lua

  Log Message:
  -----------
  Lua AIs: fix bug occurring when number= in an attack is set to zero

Apparently, when this is the case, the number key is not included at
all, rather than set to zero, when the Lua table containing the attack
information is retrieved.





More information about the Commits mailing list