Quellcode durchsuchen

宝箱10连抽bug修复

cyzhao vor 1 Jahr
Ursprung
Commit
05e9a5dffc
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Gameserver/App/process/ShopProc.php

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

@@ -193,7 +193,7 @@ class ShopProc {
                         $end = 0;                   
                         $randNum = rand (1,$allNum);                       
                         foreach ($perList as $k => $val) {
-                            $str = explode(',', $value);
+                            $str = explode(',', $val);
                             $end += $str[1]*1000;
                             if($randNum > $start && $randNum <= $end){
                                 $qual = $str[0];