]> git.cworth.org Git - empires-server/commit
Return the actual game object from create_game, not just the ID
authorCarl Worth <cworth@cworth.org>
Mon, 1 Jun 2020 01:01:00 +0000 (18:01 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 1 Jun 2020 01:01:00 +0000 (18:01 -0700)
commit493acb2b3b21f592d0ab958ba2875bb412eb8468
tree0c32f0d09c344744ba19a865c13f186ab3a8ed1a
parenteff8b40b8ee5bccc0990a49791365abb3b64b8b1
Return the actual game object from create_game, not just the ID

It was confusing for "create_game" to not return the obvious thing,
(the game that it just created). And now that a game has an "id"
property, it's easy enough to use that when needed.
lmno.js