Skip to content

Commit

Permalink
Merge pull request #792 from GregoryLundberg/GL_harm_unit
Browse files Browse the repository at this point in the history
Fix bug: Lua harm_unit
  • Loading branch information
CelticMinstrel committed Sep 19, 2016
2 parents 60a6519 + 3809a69 commit 83bd6cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/lua/wml/harm_unit.lua
@@ -1,6 +1,7 @@
local helper = wesnoth.require "lua/helper.lua"
local utils = wesnoth.require "lua/wml-utils.lua"
local wml_actions = wesnoth.wml_actions
local T = helper.set_wml_tag_metatable {}

function wml_actions.harm_unit(cfg)
local filter = helper.get_child(cfg, "filter") or helper.wml_error("[harm_unit] missing required [filter] tag")
Expand Down

0 comments on commit 83bd6cd

Please sign in to comment.