I’m working on updating the UI after the player’s turn. I’m trying to take their current score and add the new score but when I add the 2 together I get 1. When I attach the debugger I can see that I’m getting the text and the current points.
Right now the player has 1200 points.
That gets converted to a string and you can see the value is still correct, 1200 points.
Finally when the string is converted to an int, the value becomes 1. So instead of adding the newly scored points to their current point value of 1200, its adding the newly scored points to 1.
At the start of the game when the player has 0 points, this works fine. Anyone know what exactly is going on or anything to check that might be causing this behavior?