Browse Source

宠物休息bug修复

cyzhao 1 month ago
parent
commit
8f4b418b6d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Gameserver/App/process/PetProc.php

+ 1 - 1
Gameserver/App/process/PetProc.php

@@ -887,7 +887,7 @@ class PetProc {
         }
 
         for ($i = 1; $i <= 2; $i++) {
-            if (!StlUtil::dictHasProperty(ctx()->store->petUids_supportFight_position, $i) && ctx()->store->petUids_supportFight_position->$i == $uid)
+            if (StlUtil::dictHasProperty(ctx()->store->petUids_supportFight_position, $i) && ctx()->store->petUids_supportFight_position->$i == $uid)
             {
                 ctx()->store()->petUids_supportFight_position->$i = 0;
                 break;