0

Cookie Clicker 2.0

Why does it just break the system? https://code.sololearn.com/WMCc8aOVtd0i/?ref=app

2nd Feb 2022, 10:03 PM
Junior
Junior - avatar
2 Answers
0
The system is not broken it is incrementing counter until doublePoints is no longer greater than or equal to 25. There is an infinite loop inside the upgrade function.
2nd Feb 2022, 11:29 PM
ODLNT
ODLNT - avatar
0
So ho do i fix that? ODLNT
3rd Feb 2022, 12:50 AM
Junior
Junior - avatar