so i started making a little game about gardening: https://flowlab.io/game/play/1439488
and whenever i place soil in a spot it is supposed to take away 1 soil. but now it keeps giving me five whenever i use 1.
I have it set up so that when you click on the icon to buy soil, it will take 5 away from your money, and give you 5 soil, and it does that, but for some reason it also triggers when i place soil on the grid.
could this be a bug or am i doing something wrong?