Commit c120e499 authored by IamI's avatar IamI

Fix

parent b9cfe595
...@@ -319,7 +319,7 @@ let matchResponse = function(req, res) { ...@@ -319,7 +319,7 @@ let matchResponse = function(req, res) {
// 检定是否掉线重连 // 检定是否掉线重连
if (playingPlayerPool.has(username)) { if (playingPlayerPool.has(username)) {
res.writeHead(200, {'Content-Type': 'application/json', 'Cache-Control': 'no-cache'}); res.writeHead(200, {'Content-Type': 'application/json', 'Cache-Control': 'no-cache'});
res.end(result); res.end(playingPlayerPool.get(username));
} }
let arg = url.parse(req.url, true).query; let arg = url.parse(req.url, true).query;
if (!arg.arena) arg.arena = 'entertain'; if (!arg.arena) arg.arena = 'entertain';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment