CriticalNix/Nix-s-Doge-dice.com-enhancement-suite — pull request #3 by tonytamps (2014-02-02 04:03:26+00:00)
Title: Reset step fix

Problem:
When you have "steps" set to 3 and "reset step" set to 4, it doesn't reset the current value of the variable "steps".

This causes an issue when you lose 3, perform a reset and lose the first bet of the next round.

| Step | Result | Remark |
| ------------- |:-------------:| -----|
| 0 | LOSS | |
| 1 | LOSS | |
| 2 | LOSS | Reset step kicks in here, sets the bet to the reset_value |
| 3 | LOSS | (First bet of new cycle) Because the step number wasn't reset, the bot stops working. |

This is due to the current step being > than the limiter and > the reset_step

I've tested this on the minimum chance to win and the minimum bet and it will correctly loop after the 3rd step.