mzx16822 лет назад: 6
Родитель
Сommit
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':