gwang 4 жил өмнө
parent
commit
0d7af3e239

+ 1 - 1
Gameserver/Amfphp/process/FightProc/PVPProc.php

@@ -605,7 +605,7 @@ class PVPProc {
      * @param type $num
      * @return type
      */
-    function array_random_assoc($arr, $num = 1) {
+    private static function array_random_assoc($arr, $num = 1) {
         $keys = array_keys($arr);
         shuffle($keys);