Minus button not stopping at 0

CaptFinnCaptFinn Member Posts: 1,828
edited November -1 in Working with GS (Mac)
I have a scoreboard. I have a + and a - button. for the minus button this is the coding

actor on touch release change attr game.hole1 to game.hole1-1

attribute game.hole1 < 1 change attr game.hole1 to 0

Im trying to make the scoreboard stop at 0 when it reaches 0 if pressed again still say 0 not -1 -2 -3 -4

why isnt this working?

Comments

Sign In or Register to comment.