Browse Source
			
			
			Merge pull request #79 from Saibamen/remove_debug_spam
			
				Remove debug spam
			
			
				pull/89/head
			
			
		 
		
			
				
					
						 Louis Lam
					
					4 years ago
						Louis Lam
					
					4 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
0 additions and 
2 deletions
			 
			
		 
		
			
				- 
					
					
					 
					server/server.js
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -50,7 +50,6 @@ let needSetup = false; | 
			
		
	
		
		
			
				
					|  |  |             version, |  |  |             version, | 
			
		
	
		
		
			
				
					|  |  |         }) |  |  |         }) | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |         console.log('a user connected'); |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         totalClient++; |  |  |         totalClient++; | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |         if (needSetup) { |  |  |         if (needSetup) { | 
			
		
	
	
		
		
			
				
					|  | @ -59,7 +58,6 @@ let needSetup = false; | 
			
		
	
		
		
			
				
					|  |  |         } |  |  |         } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |         socket.on('disconnect', () => { |  |  |         socket.on('disconnect', () => { | 
			
		
	
		
		
			
				
					|  |  |             console.log('user disconnected'); |  |  |  | 
			
		
	
		
		
			
				
					|  |  |             totalClient--; |  |  |             totalClient--; | 
			
		
	
		
		
			
				
					|  |  |         }); |  |  |         }); | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | 
 |