Fix default context value
This commit is contained in:
parent
0673027994
commit
28d2bd6fde
|
|
@ -73,9 +73,9 @@ export default function(random) {
|
|||
|
||||
match({ count, grid, x, y }) {
|
||||
return expr => {
|
||||
return !!calc(expr, {
|
||||
return !!calc('(' + expr + ')', {
|
||||
x, y,
|
||||
X: grid.x, Y: grid.Y,
|
||||
X: grid.x, Y: grid.y,
|
||||
i: count,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue