Dave Schrijvers2,281 Points
Value of score in global state and player state
When the score of a player is changed, the value of score not only updates in the players object, but is also added ( on first click ) and updated globally in the state ( same level as the player object )
Why is this happening and is this expected/valid behaviour?
Thanks in advance!