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:
parent
34025444c3
commit
a353bcd6f8
2 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue