From 520f8417ef94ef48e1273d7b0636a738faab80cc Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 5 Jun 2015 02:24:53 +0100 Subject: fix invalid field name renamed state in game_state Signed-off-by: Olivier Gayot --- cao-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }; -- cgit v1.2.3