mzx16822 %!s(int64=6) %!d(string=hai) anos
pai
achega
0860be962b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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':