Fix a syntax error

This commit is contained in:
Celtic Minstrel 2021-03-04 23:33:33 -05:00 committed by GitHub
parent 3a7eef0310
commit 86c3c30c46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -343,7 +343,7 @@ return {
{ "and", params.filter_own }
}[1]
if (not leader) or (not wesnoth.terrain_types[wesnoth.current.map[leader]).keep] then
if (not leader) or (not wesnoth.terrain_types[wesnoth.current.map[leader]].keep) then
return 0
end