Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please read the forum rules before posting.



Check if you are posting in the correct category.



The Off Topic section is not meant for discussing Cookie Clicker.

Unsure why my game is freezing

1234abcdcba43211234abcdcba4321 Member, Friendly, Flagger, Conversationalist Posts: 9,714 ✭✭✭✭✭
edited October 25 in Developer's Lounge
can we have a help forum again pls thx
 if (d1p >= 10)
  gain floor(d1p/10) d1
  d1p = d1p%10
 end

that's the relevant code (though in an includes, so i changed the values to be what they were for the instance).
the game doesn't freeze until reaching 10 d1p.
d1p is a resource, d1 is a building.

full game

now i have a workaround to this problem ("hope that resources are able to be decimals") but id rather leave it like this for simplicity
Sign In or Register to comment.