cocoaboys
|
  |
| Joined: 08 Sep 2013 |
| Total Posts: 488 |
|
|
| 21 Jul 2017 11:27 AM |
Hey, I am familiar with this operator from JS, but have I done it right in Lua? The prints doesn't fire (they are inside a click-function, which works):
trykk = trykk + 1 if trykk%2 == 0 then print("partall") else print("oddetall") end |
|
|
| Report Abuse |
|
cocoaboys
|
  |
| Joined: 08 Sep 2013 |
| Total Posts: 488 |
|
|
| 21 Jul 2017 11:39 AM |
| Nvm an if-statement before the code blocked this code.. xD |
|
|
| Report Abuse |
|