mzx16822 6 gadi atpakaļ
vecāks
revīzija
0860be962b
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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':