This should be `nvs.players[i]` otherwise it always references the same thing.

Also why not use the same `foreach(PlayerInfo pInfo in nvs.players)` like the other sections of code use?