Removed chat connect log, +9 secons on daily action

This commit is contained in:
mrfry 2021-06-01 09:36:04 +02:00
parent 34025444c3
commit a353bcd6f8
2 changed files with 1 additions and 2 deletions

View file

@ -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())

View file

@ -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)