Put off doom fire after 3 seconds

master
Fabien Freling 2019-05-05 15:57:57 +02:00
parent 530a47a085
commit 8569d9f55a
1 changed files with 7 additions and 0 deletions

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>