Save Game doesn't seem to be working properly

The principle is the same, saving and reading a variable.

Check if the variable comes back immediately after loading with a print string.

If it does, the error must be elsewhere…