From 209e45b251d748355d7f7efd26b026791f111e70 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Sat, 25 Feb 2012 18:26:57 +0000
Subject: [PATCH] fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4925 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/engines/default/engine/generator/map/GOL.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/engines/default/engine/generator/map/GOL.lua b/game/engines/default/engine/generator/map/GOL.lua
index eeedfa9370..7ef2369331 100644
--- a/game/engines/default/engine/generator/map/GOL.lua
+++ b/game/engines/default/engine/generator/map/GOL.lua
@@ -58,7 +58,7 @@ end
 
 function _M:liveOrDie(x, y)
 	local nb = 0
-	for _, coord in pairs(util.adjacentCoords(x, y)) if self.map:isBound(coord[1], coord[2]) then
+	for _, coord in pairs(util.adjacentCoords(x, y)) do if self.map:isBound(coord[1], coord[2]) then
 		local g = self.map(coord[1], coord[2], Map.TERRAIN)
 		if g and g == self.wall then nb = nb + 1 end
 	end end
-- 
GitLab