]> git.cworth.org Git - lmno.games/commit
Empathy: When receiving a game-state event overwrite all prompts
authorCarl Worth <cworth@cworth.org>
Wed, 10 Jun 2020 14:57:08 +0000 (07:57 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 10 Jun 2020 14:57:08 +0000 (07:57 -0700)
commit3c2c043c4a6e389a597736c9fd366b716ac7237c
tree556f306340f5f7404b0769d2282942c0f8c1b20e
parentae931528b06e796b57147b974b669e980b18c51f
Empathy: When receiving a game-state event overwrite all prompts

Originally this cod was written to add each received prompt, but that
does the wrong thing when the game-state object is trying to set a
subset of the prompts we already have, (for example, to drop the
prompt we just finished playing when starting a new game).
empathy/empathy.jsx