Getter fails to return correct value from client player state

Trying to return a playerclass index to choose the correct character.

The getter shows the correct value (2) in the debugger, but when I step through and out of the getter it always returns (0)?