From e08ea8ff58e41f8b77bf654b5340c7f3a8c3e422 Mon Sep 17 00:00:00 2001 From: libccy Date: Mon, 27 Mar 2017 16:39:39 +0800 Subject: [PATCH] s --- game/game.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index 13ba74b9f..ec0f303f4 100644 --- a/game/game.js +++ b/game/game.js @@ -12602,7 +12602,9 @@ return null; }, getCards:function(arg1,arg2){ - arg1=arg1||'he'; + if(typeof arg1!='string'){ + arg1='he'; + } var cards=[],cards1=[]; var i,j; for(i=0;i