Adding the saved score with the old score

Take a closer look at this part

Firstly, you need to cast when you load the save game, but you don’t need to cast when you create ( because it already is of the correct type ).

But in both cases, you need to assign the result to your SG variable.

Then update the int on that SG and write the SG out again.