Fix syntax error (trying to write Lua like C++)
This commit is contained in:
parent
6f55cd3ba2
commit
e0cf8c5982
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ local function simple_modify_unit(cfg)
|
|||
end
|
||||
|
||||
---------- TAGS ----------
|
||||
bool found_recall = false, found_variables = false
|
||||
local found_recall, found_variables = false, false
|
||||
for i, t in ipairs(wml.shallow_parsed(cfg)) do
|
||||
local tagname, tagcontent = t[1], t[2]
|
||||
if tagname == "object" or tagname == "trait" or tagname == "advancement" then
|
||||
|
|
Loading…
Add table
Reference in a new issue