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