Need help with increasing values only if you didn't press the other button

#1

Use this template to make awesome bug reports:

Your username:strongerthanyou

What kind of device are you using?:ipad mini

1 sentence description of the problem (I was doing _________, and then __________ happened):I was coding a button when it was pressed it would check that the other button wasn't there

Steps to make the problem happen:
1.code a button that if you pressed the other button first you wouldn't win
2.
….

I expected this to happen:

But instead this happened:

Here’s a sweet screenshot:

#2

What is the value of Combination before you tap the button? 0?

#3

Yes. If combination = 2 then it is supposed to win the game.

#4

It won't ever become 2 because it won't increase when it's at 1

1 Like
#5

Why? I have another button

#6

Oh you need to tap another button to get to 2? Okay sorry. Do you have a screenshot of that?

#7

I will soon
Off to coding!

#8


That was quick

#9

Was it fixed? Did you solve the problem?

#10

Yes! Thank you very much!

#11

It's out!