mzx16822 6 年之前
父節點
當前提交
0860be962b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      public/h5/datigame/js/common.js

+ 2 - 2
public/h5/datigame/js/common.js

@@ -160,9 +160,9 @@ common={
           break;
           case "answer":
           if(_this.userInfo.user_id==data.user_id){
-          	_this.increment($("#py1_score"),data.score);
+          	_this.increment($("#py1_score"),data.total_score);
           }else if(_this.userInfo.playerId==data.user_id){
-          	_this.increment($("#py2_score"),data.score);
+          	_this.increment($("#py2_score"),data.total_score);
           }
           break;
           case 'game_end':