This commit is contained in:
aozhiwei 2019-07-26 13:09:46 +08:00
parent 4d55b4cc9a
commit 7f9935e7d3

View File

@ -130,7 +130,7 @@ class MatchController{
$current_db_str = $r->get('game2001:match:current_room');
$current_db = json_decode($current_db_str, true);
$current_db['room_uuid'] = $room_uuid;
$r -> set('game2001:match:current_room', json_encode($current_db));
$r -> set('game2002:match:current_room', json_encode($current_db));
} else if (count($room_db['member_list']) < 10) {
//判断是否添加机器人
if ($flag == 1) {