mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 10:09:05 +00:00
Fix syntax error (trying to write Lua like C++)
This commit is contained in:
parent
6f55cd3ba2
commit
e0cf8c5982
@ -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…
x
Reference in New Issue
Block a user