0

Why does it gives 4 mps when it has t give 2 mps

i made a clicker game, but the mps (money per second) totally glitched out, if you buy the autoclicker or speedclicker twice, it will: double the money you get per second and halve the time of getting the money so: autoclickers: 2 should get: 2money per second gets: 4 money per second please help me out of this shit https://code.sololearn.com/WuU3yGBHAGLO/?ref=app

16th May 2018, 8:40 PM
Roel
Roel - avatar
1 Odpowiedź
0
Because in your code you have written "mps += 2;" for every autocklicker you buy. So if you buy 2 you have 4 mps. Hope that was the missing part.
28th Jun 2018, 12:53 PM
Dragonxiv
Dragonxiv - avatar