diff --git a/chameleonic.p8 b/chameleonic.p8 index a16ebe9..a7a1fef 100644 --- a/chameleonic.p8 +++ b/chameleonic.p8 @@ -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