fojat
This commit is contained in:
parent
3e0052a87a
commit
2be4884dc9
|
@ -74,13 +74,11 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site =
|
||||||
gClient.on('hi', ()=>{
|
gClient.on('hi', ()=>{
|
||||||
console.log(`[${site}][${room}] Received greeting`);
|
console.log(`[${site}][${room}] Received greeting`);
|
||||||
if (!testmode) {
|
if (!testmode) {
|
||||||
/*if (site == "MPP") {
|
if (site == "MPP" && room == "lobby") {
|
||||||
if (room != "lobby") {
|
gClient.sendArray([{m: "userset", set: {name: "Anonymous" }}]);
|
||||||
gClient.sendArray([{m: "userset", set: {name: "Anonymous" }}]);
|
} else {
|
||||||
}
|
|
||||||
} else {*/
|
|
||||||
gClient.sendArray([{m: "userset", set: {name: config.mppname }}]);
|
gClient.sendArray([{m: "userset", set: {name: config.mppname }}]);
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
gClient.sendArray([{m:'m',x:Math.floor(Math.random()*100),y:Math.floor(Math.random()*100)}])
|
gClient.sendArray([{m:'m',x:Math.floor(Math.random()*100),y:Math.floor(Math.random()*100)}])
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue