Closed sebbi08 closed 8 years ago
I guess the travis build needs to know to expect the flash to be last?
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.
The code was already written to honor the order of grenades that the user clicks on when configuring the bind. For instance:
buy flashbang; buy decoy; buy flashbang;
buy smokegrenade; buy flashbang; buy flashbang; buy decoy;
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.
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