mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Controller is up
This commit is contained in:
@@ -114,7 +114,7 @@ io.on('connection', function(socket){
|
||||
});
|
||||
});
|
||||
|
||||
socket.on('guid', function(arr)
|
||||
socket.on('id', function(arr)
|
||||
{
|
||||
io.sockets.emit(arr[0], [arr[1], arr[2]]);
|
||||
});
|
||||
@@ -128,7 +128,7 @@ io.on('connection', function(socket){
|
||||
coll = list[0].toLowerCase();
|
||||
//guid = list[1];
|
||||
|
||||
socket.emit("guid", socket.id);
|
||||
socket.emit("id", rndName(socket.id).substring(0,8));
|
||||
|
||||
//console.log(name + " joined list " + coll);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user