소스 검색

gem词条bug

cyzhao 1 년 전
부모
커밋
393ad0bbf5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Gameserver/App/process/StoreProc.php

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

@@ -779,7 +779,7 @@ class StoreProc {
         $arr = array();
         $predicateMo = GameConfig::predicate();
         foreach ($predicateMo as $key => $value) {
-            if ($value->position != null) {
+            if ($value->positions != null) {
                 $list = explode(',', $value->positions);
                 if ($value->qual == $qual && in_array($posId,$list) && $value->attachTarget == "gem") {
                     $arr[] = $value->id;