jessewebb / csgo-buynds

CS:GO Buy Binds Generator
http://csgobuynds.com
Other
106 stars 15 forks source link

Falsh Will be bought last #9

Closed sebbi08 closed 8 years ago

sebbi08 commented 8 years ago

Falsh Will be bought last becaus if u picked up one last round and buy it befor other nades u will get 2 flashes insted of HE or Somoke

mike-u commented 8 years ago

I guess the travis build needs to know to expect the flash to be last?

mike-u commented 8 years ago

Now travis is confused by the name change. But before that change one error it threw was

Expected 'bind "kp_5" "buy incgrenade; buy molotov;";' to equal 'bind "kp_5" "buy molotov; buy incgrenade;";'.
    @/home/travis/build/jessewebb/csgo-buynds/tests/specs/buynds.spec.js:85:17

Why would this change in order happen? There's no flash being bought.

jessewebb commented 8 years ago

The code was already written to honor the order of grenades that the user clicks on when configuring the bind. For instance:

The generator keeps track of which order the user clicks on the check-boxes and generates the order of the bind accordingly.

I do not wish to change this behavior. Closing this PR.