mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 17:04:38 +00:00
fixup [terrain_mask]
(cherry-picked from commit 7d44782e5c027c3aee6b0b0bf89cac3f874cd672)
This commit is contained in:
parent
42af4c3378
commit
3c86e3bc8f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user