mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Updated unique ids and fixed mobile bug
This commit is contained in:
@@ -64,6 +64,8 @@ io.on('connection', function(socket){
|
|||||||
var in_list = false;
|
var in_list = false;
|
||||||
var name = rndName(guid,8);
|
var name = rndName(guid,8);
|
||||||
var short_id = uniqueID(socket.id,4);
|
var short_id = uniqueID(socket.id,4);
|
||||||
|
unique_ids.push(short_id);
|
||||||
|
|
||||||
|
|
||||||
socket.on('namechange', function(data)
|
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()
|
socket.on('disconnect', function()
|
||||||
{
|
{
|
||||||
if(in_list)
|
if(in_list)
|
||||||
|
|||||||
Reference in New Issue
Block a user