cyzhao 3 năm trước cách đây
mục cha
commit
24d348c22d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Gameserver/Amfphp/model/User/Info_College.php

+ 2 - 1
Gameserver/Amfphp/model/User/Info_College.php

@@ -125,6 +125,7 @@ class Info_College extends Object_ext{
             foreach ($courseDic as $courseId => $cardDic) {
                 foreach ($cardDic as $cardId => $val) {
                     if($cardId == $id){
+                        TaskProc::OnFinishSchoolTask();
                         $this->ingTaskCardDic->$collegeId->$courseId->$cardId->type = $state;
                         break 3; 
                     }
@@ -138,7 +139,7 @@ class Info_College extends Object_ext{
 //        $this->compMissCardDic->$id->type = $state;
 //        $this->progress += 1;           
         
-        TaskProc::OnFinishSchoolTask();
+        
     }
       
     public function updataCourseNew() {