fixup [terrain_mask]

This commit is contained in:
gfgtdf 2018-08-13 17:01:15 +02:00
parent 09c56ef2fe
commit 7d44782e5c

View file

@ -981,7 +981,7 @@ function wml_actions.terrain_mask(cfg)
is_odd = true
elseif alignment == "raw" then
--todo: maybe rename this value?
is_odd = (number % 2 != 0)
is_odd = (x % 2 ~= 0)
elseif border == false then
is_odd = true
else