Explorar o código

任务bug修复

cyzhao hai 8 meses
pai
achega
cfb95679b2
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Gameserver/App/process/ShopProc.php

+ 2 - 1
Gameserver/App/process/ShopProc.php

@@ -515,8 +515,9 @@ class ShopProc {
             }
             }
         }
         }
 
 
-        TaskProc::OnBuyGold();
+        
         ctx()->privateState->goldShopReceived[] = $typeId;
         ctx()->privateState->goldShopReceived[] = $typeId;
+        TaskProc::OnBuyGold();
         StoreProc::AddMultiItemInStore($mo->reward);
         StoreProc::AddMultiItemInStore($mo->reward);
     }
     }