|
@@ -70,8 +70,8 @@ class gamematch extends Command
|
|
|
$match_times = 0;
|
|
|
$info = [];
|
|
|
$questions = [];
|
|
|
- $room = Redis::get($data['level']);
|
|
|
$data = json_decode($data, 1);
|
|
|
+ $room = Redis::get($data['level']);
|
|
|
if($room){
|
|
|
Redis::del($data['level']);
|
|
|
$room = json_decode($room, 1);
|