mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 05:17:23 +09:00
リバーシしないなら接続しないように
This commit is contained in:
parent
e07415f4cb
commit
bce44c7c05
@ -20,6 +20,8 @@ export default class ReversiModule implements IModule {
|
||||
private reversiConnection?: any;
|
||||
|
||||
public install = (ai: 藍) => {
|
||||
if (!config.reversiEnabled) return;
|
||||
|
||||
this.ai = ai;
|
||||
|
||||
this.reversiConnection = new ReconnectingWebSocket(`${config.wsUrl}/games/reversi?i=${config.i}`, [], {
|
||||
|
Loading…
x
Reference in New Issue
Block a user