Fix bug: Lua harm_unit
Missing local T. cf https://forums.wesnoth.org/viewtopic.php?f=21&t=44567
This commit is contained in:
parent
60a6519295
commit
3809a69a42
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue