aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop/sources/scripts/programs/y.js
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/sources/scripts/programs/y.js')
-rw-r--r--desktop/sources/scripts/programs/y.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/sources/scripts/programs/y.js b/desktop/sources/scripts/programs/y.js
index e4a0af4..3e54a21 100644
--- a/desktop/sources/scripts/programs/y.js
+++ b/desktop/sources/scripts/programs/y.js
@@ -7,7 +7,7 @@ function program_Y(x,y)
this.operation = function()
{
- var ns = this.neighbors_like("y")
+ var ns = this.neighbors("y")
// Any live cell with fewer than two live neighbours dies, as if caused by underpopulation.
if(ns.length == 1){