I'm trying to make a micromanagement game which utilizes a system that tells the player whether their income is in the positive or negative.
This game has purchasable upgrades and I need the income indicator to go into the negative for one second and then return back to zero after upgrades are bought.
The issue is that if you purchase the same upgrade quickly, the game starts adding too much numbers to the income indicator and the income indicator doesn't return back to zero.
Code picture:
Gif of project in action:
Link to c3p example:
drive.google.com/file/d/15RPQw-w-1lGKzvX2Ptmf7L86i8FhreVY/view