mirror of
				https://gitlab.com/MrFry/mrfrys-node-server
				synced 2025-04-01 20:24:18 +02:00 
			
		
		
		
	Removed chat connect log, +9 secons on daily action
This commit is contained in:
		@@ -46,7 +46,6 @@ function setup(data: SubmoduleData): void {
 | 
			
		||||
 | 
			
		||||
  io.on('connection', (socket: ExtendedSocket) => {
 | 
			
		||||
    const userid = socket.user.id
 | 
			
		||||
    logger.Log(`Chat connect: ${userid}`, logger.GetColor('green'))
 | 
			
		||||
 | 
			
		||||
    socket.on('join', function (/*data*/) {
 | 
			
		||||
      socket.join(userid.toString())
 | 
			
		||||
 
 | 
			
		||||
@@ -261,7 +261,7 @@ function setLogTimer() {
 | 
			
		||||
    1
 | 
			
		||||
  )
 | 
			
		||||
  logger.DebugLog(`Next daily action: ${night}`, 'daily', 1)
 | 
			
		||||
  const msToMidnight = night.getTime() - now.getTime() + 1000
 | 
			
		||||
  const msToMidnight = night.getTime() - now.getTime() + 10000
 | 
			
		||||
  logger.DebugLog(`msToMidnight: ${msToMidnight}`, 'daily', 1)
 | 
			
		||||
  logger.DebugLog(`Seconds To Midnight: ${msToMidnight / 1000}`, 'daily', 1)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user