ff to current state #6

Merged
kistaro merged 27 commits from pyrex/chameleonic:main into main 2022-12-19 07:03:33 +00:00
Showing only changes of commit 5dc8e2c10d - Show all commits

View File

@ -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