Put off doom fire after 3 seconds

This commit is contained in:
Fabien Freling 2019-05-05 15:57:57 +02:00
parent 530a47a085
commit 8569d9f55a

View file

@ -51,6 +51,13 @@ function TIC()
dofire()
end
t=t+1
-- put off fire after 3 seconds
if t == 3*60 then
for i=width*(height-1),width*height do
base[i] = 0
end
end
end
-- <TILES>