[BUG] Odd behavior with else if statements in on click: effects
I've noticed this odd bug when using else if statements for buttons' on click: effects.
Basically, if you have two varying amounts of a resource being yielded, the first outcome will have the second outcome added to it. For example:
if: (have PlasticCursor) yield 2 cookies
else yield 1 cookie
would result in the cookie giving 1 cookie per click if Plastic Cursor wasn't owned, but 3 cookies if it was. The same happens with local variables, or any other value.
Luckily, it's pretty easy to work around in most cases, simply by subtracting however many it is in the "else" part from the "if" part.
I said, STOP SUICIDING.
~IdlerUh your so ugly I frgotz how 2 grammer
~DarkmatterfireWhy is 10 afraid of people who can't count? Because 7 8 10!
~PighouseYou can't get into sigs if you try hard!!!!!!!!!!!1!!!!!!!11!!
, an IGM game I made. Thingk RPG
, a creative forum game I made. Do not pity the dead, Harry. Pity the living, and, above all those who live without love.