]> git.cworth.org Git - empires-server/commit
Rename a variable from "player_string" to "player_data"
authorCarl Worth <cworth@cworth.org>
Sun, 10 May 2020 21:21:19 +0000 (14:21 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 10 May 2020 21:21:19 +0000 (14:21 -0700)
commita89e6229a4c88c77f9a532df8104bceba56b4c40
treed0632d538f52a0c56b9a250ba0611f840c0f490a
parentb5f8d475464ac1533d848b2836c2f6144f321757
Rename a variable from "player_string" to "player_data"

The name of "player_string" made me think this is just a string
representation of a player's name. But instead, this variable is
holding the JSON representation of the data block of a
"player-register" event. So a name of "player_data" is much more
clear.
server.js