# Add and Remove Button Listener not quite working

**URL:** <https://forum.kirupa.com/t/add-and-remove-button-listener-not-quite-working/331145>\
**Category:** Uncategorized\
**Created:** [May 28, 2013, 7:23pm UTC](https://forum.kirupa.com/t/add-and-remove-button-listener-not-quite-working/331145 "2013-05-28T19:23:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bking20](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bking20](https://forum.kirupa.com/u/bking20)\
**Post date:** [May 28, 2013, 7:23pm UTC](https://forum.kirupa.com/t/add-and-remove-button-listener-not-quite-working/331145/1 "2013-05-28T19:23:49Z")

</div>

I have this game that I’ve made for my website [http://www.roomrecess.com](http://www.roomrecess.com) called Missile Mania (it’s a game for elementary kids, don’t laugh too hard…) Anyway, when you click on the start button, and the start button’s listener is removed, the in-game missile is fired right as you begin, even though I have not activated it’s listener yet. Is there a way to prevent this missile form firing until you click a second time (after you’ve clicked the start button)? The code is much too long to paste, but here is the address for the game, take a look: [www.roomrecess.com/pages/MissileMania.html](http://www.roomrecess.com/pages/MissileMania.html)  
Thanks!
