From 2fb41136d388b70b270cc97b2ca4772983802910 Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Sat, 10 Dec 2016 14:29:45 +0800 Subject: [PATCH] Fix mayu's room --- Game.js | 2 +- test.js | 9 ++++++++- webxoss-client | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Game.js b/Game.js index a44787b..df35e1e 100644 --- a/Game.js +++ b/Game.js @@ -172,7 +172,7 @@ Game.checkMayusRoom = function (infos) { 34: 2, // <修復> 178: 2, // <先駆の大天使 アークゲイン> 534: 1, // <ロック・ユー> - 689: 1, // <RAINY> + // 689: 1, // <RAINY> 474: 0, // <ノー・ゲイン> 23: 0, // <大器晩成> 689: 0, // <RAINY> diff --git a/test.js b/test.js index 2e1e002..5c3bb31 100644 --- a/test.js +++ b/test.js @@ -58,7 +58,14 @@ if (global.window) { pingTimeout: 30000, maxHttpBufferSize: 1024*1024, }); - server.listen(80); + var port = 80; + process.argv.slice(2).forEach(function (arg) { + var match = arg.match(/^port=(\d+)/) + if (match) { + port = +match[1]; + } + }); + server.listen(port); } var cfg = { diff --git a/webxoss-client b/webxoss-client index b197ea3..8963b8f 160000 --- a/webxoss-client +++ b/webxoss-client @@ -1 +1 @@ -Subproject commit b197ea32941722470e074d91bc6f345f3d9ec6de +Subproject commit 8963b8f00812da983440f306d7c340113c82bcb1