ensingm2 / SteamMonsterGameScript

A Javascript automator for the 2015 Summer Steam Monster Minigame
78 stars 29 forks source link

Fixed a Small Memory Leak #113

Closed omgitsfullofstars closed 9 years ago

omgitsfullofstars commented 9 years ago

Moved the "expand list of active abilities on hover" code out of the main loop.

ensingm2 commented 9 years ago

It didn't really make sense to keep that code in the startAutoClicker script at all, since that is run every time the autoclicker portion of the script is enabled. Moved it to the startAll function that is called when the base game is finished loading.

See https://github.com/ensingm2/SteamMonsterGameScript/commit/7ec4398393915b8fb008e17e227ace988bd0c0da