diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-06-05 02:24:53 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-06-05 02:24:53 +0100 |
commit | 520f8417ef94ef48e1273d7b0636a738faab80cc (patch) | |
tree | 128c1708d841c2f63bb9de1311b61ff306b7e71b /cao-common.js | |
parent | 76431d4ff189b8531f7bc89dc80e9fa4b8e79bbd (diff) |
fix invalid field name
renamed state in game_state
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'cao-common.js')
-rw-r--r-- | cao-common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cao-common.js b/cao-common.js index e46f39b..cc29ddb 100644 --- a/cao-common.js +++ b/cao-common.js @@ -33,7 +33,7 @@ var CAO = function() { /* map_handle_response_ok {{{ */ map_handle_response_ok['join_game'] = function(result) { - self.on_join_game_ok(result['state']); + self.on_join_game_ok(result['game_state']); map_handle_response_ok['view_player_cards'](result); }; |