Hi folks,
Something rather strange happened to me. I'm trying to deduct 10 from a number stored in a dictionary object using the 'set-key' action.
When I trigger this with a key press the first time nothing happens, on the second key press it works fine. (I've tested this in debug view many times)
When triggered using a function it doesn't work at all.
Anyone know what is going on here? Why would it need a double-input like that?
using the int() is the only way I can get it to work at all.
I've disabled all other events in the project to rule out anything else causing this, so I'm guessing I'm doing something wrong syntax-wise?
Any help or general ideas on what might be going on would be much appreciated!