Fix repeatables buying more than intended when cumulativeCost is false
#18
+3
−1
cumulativeCost is false
#18