Hi everyone. I just wrote a simple line of code, something like:
If you click on the button "Buy" and the object selected ID is 128 then upgrade the object.
For some reason, even with all conditions matched the code doesn't work.
The problem is with the Selection variable, because if I remove it the code works, but I need this variable to work in order to know which upgrade the player wants to buy.
Now, I'm a doing something wrong? is Construct2 Bugging? Any ideas??