Browse Source

还原,去掉filter

gwang 4 years ago
parent
commit
d7b51c0002
1 changed files with 0 additions and 3 deletions
  1. 0 3
      Gameserver/Amfphp/process/EventProc/NormalEventProc.php

+ 0 - 3
Gameserver/Amfphp/process/EventProc/NormalEventProc.php

@@ -75,9 +75,6 @@ class NormalEventProc {
      * @param type $arg2
      */
     public static function OnTaskCard_Finish($arg1, $arg2) {
-        Resp::$ext_events = array_filter(Resp::$ext_events, function ($v)use($arg1) {
-            return !($v['name'] == 'MissionStepComplete' && $v['arg1'] == $arg1);
-        });
         Resp::AddEvent(Enum_EventType::TaskCardFinished, $arg1, $arg2);
     }