bion33 / Storm

Storm is an extension for military gameplay on the NationStates website. It makes frequently used actions more convenient by assigning hotkeys to them. Please open an issue if you'd like to see a feature added or if something doesn't work as it should.
GNU General Public License v3.0
1 stars 0 forks source link

Technically Constrain [C] for compliance with NS Rules #2

Closed Redorhcs closed 6 years ago

Redorhcs commented 6 years ago

Putting this on the todo menu:

Constrain [C] with a debounce function to prevent execution more than once per minute.

Example: https://stackoverflow.com/questions/24004791/can-someone-explain-the-debounce-function-in-javascript

I'll play around with it, been struggling as JS isn't my language :)

bion33 commented 6 years ago

Solved in v1.6, commit f9959333839a24ce7db37a3b5421759c68eb2009