possible fix to fireworks exploding continiously

untested!
Merge pull request #13 from Divran/master

Possible fix to continuous firework explosions.