瀏覽代碼

fix: 挑战记录每日刷新.

王刚 1 年之前
父節點
當前提交
6ee7f3d68e
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Gameserver/App/process/FightProc.php

+ 2 - 0
Gameserver/App/process/FightProc.php

@@ -313,6 +313,8 @@ class FightProc {
     public static function FightDailyClear() {
         //ctx()->gates->xunluo_quick_buyRecord = 0;
         ctx()->gates->fightSweepNum = 0;
+        ctx()->gates()->TowerGateInfo()->RefreshSkillTimes = 0;
+        ctx()->gates()->TowerGateInfo()->TodayChanNum = 0;
     }
 
     /**