forked from pyrex/chameleonic
		
	Fix sample level
This commit is contained in:
		| @@ -354,7 +354,7 @@ function level:spawn_exit() | ||||
|   if (x<8) player.orientx=1  | ||||
|  end | ||||
|  local win_at=function(x,y) | ||||
|   if (self:_mget(x,y)!=4) return | ||||
|   if (self:_mget(x,y)!=18) return | ||||
|   for n in all(neighbors{x=x,y=y}) do | ||||
|    if n.x<0 or n.y<0 or n.x>15 or n.y>15 then | ||||
|     self._wins[_mix(n.x,n.y)]=true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user