Bugfix/135 while freezes the mud (#138)
* Added loop counter per while instead of global. fixes #135
* Revert "Added loop counter per while instead of global. fixes #135"
This reverts commit 59cf6a1fb2.
* Remove extraneous reset of loop var.
Fixes #135
Thanks to bylins for the fix - https://github.com/bylins
This commit is contained in: