Updated unique ids and fixed mobile bug

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-26 16:36:33 +02:00
parent 6211bb2b36
commit 3b3b393d6a

View File

@@ -64,6 +64,8 @@ io.on('connection', function(socket){
var in_list = false;
var name = rndName(guid,8);
var short_id = uniqueID(socket.id,4);
unique_ids.push(short_id);
socket.on('namechange', function(data)
{
@@ -501,28 +503,6 @@ io.on('connection', function(socket){
}
});
/*
>be chilling at home
>listening to music
>ohshit.gif
>MRW client disconntects
>no clue wat to do
>accidently delete all channels in panic
>fuck.jpg
>all videos on yotube deleted as well
>nononono.mov
>try to hack nsa and get data back
>can't connect
>realize im running on localhost
>nothing really deleted
>world crisis adverted
>MFW ( ^o^')
*/
socket.on('disconnect', function()
{
if(in_list)