Workshop › Bomberman-style Arena › Step 19 of 42
Like a fuse, every flame's time goes down each frame, and flames with no time left are removed.
```js
for (const f of flames) f.time -= 1
flames = flames.filter((f) => f.time > 0)
```In update, under the explode line, write the two lines.
Skills: Game states