郑晓宇 лет назад: 6
Родитель
Сommit
bb293a2114
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/Console/Commands/gamematch.php

+ 1 - 0
app/Console/Commands/gamematch.php

@@ -43,6 +43,7 @@ class gamematch extends Command
     {
     {
         //注册地址
         //注册地址
         Gateway::$registerAddress = '127.0.0.1:1238';
         Gateway::$registerAddress = '127.0.0.1:1238';
+        $match_times = 0;
         //循环匹配
         //循环匹配
         while (1) {
         while (1) {
             $data = Redis::lpop('match_list');
             $data = Redis::lpop('match_list');