Fix: command counts greater than 2
Entering a count to repeat an action stopped working for counts greater than 2 after93db2a8: the unconditional call to reset_cmd_vars at the top of rhack was resetting many more variables than had previously been cleared at that point, including g.multi (which in this context tracks how many more times the requested action should be repeated). As a result any count would perform the requested action twice at most. Reduce the list of variables zeroed out at the start of rhack back to what it was before93db2a8.
This commit is contained in:
committed by
Pasi Kallinen
parent
76d9d65884
commit
2b51a22c6c
Reference in New Issue
Block a user