Browse Source

盒子入库bug

cyzhao 1 year ago
parent
commit
b48dcbcd65
1 changed files with 2 additions and 4 deletions
  1. 2 4
      Gameserver/App/process/StoreProc.php

+ 2 - 4
Gameserver/App/process/StoreProc.php

@@ -821,10 +821,8 @@ class StoreProc {
 
                 $id = 0;
                 foreach ($ctxList as $value) {
-                    $ctx = explode(':', $value);
-                    $per1 += $ctx[1];
-
-                    $end += $per1;
+                    $ctx = explode(':', $value);               
+                    $end += $ctx[1];
                     if ($ctxPer > $start && $ctxPer <= $end) {
                         $id = $ctx[0];
                         break;