Comment out unused code in server.js
This commit is contained in:
@@ -30,12 +30,13 @@ wss.on('connection', (socket) => {
|
|||||||
console.log('Neuer Client verbunden');
|
console.log('Neuer Client verbunden');
|
||||||
|
|
||||||
// Sende sofort den aktuellen Spirit
|
// Sende sofort den aktuellen Spirit
|
||||||
|
/*
|
||||||
if (typeof currentSpiritIndex === 'number') {
|
if (typeof currentSpiritIndex === 'number') {
|
||||||
socket.send(JSON.stringify({
|
socket.send(JSON.stringify({
|
||||||
type: 'spirit',
|
type: 'spirit',
|
||||||
data: spirits[currentSpiritIndex]
|
data: spirits[currentSpiritIndex]
|
||||||
}));
|
}));
|
||||||
}
|
}*/
|
||||||
});
|
});
|
||||||
|
|
||||||
// --- Spirit-Zeitsteuerung ---
|
// --- Spirit-Zeitsteuerung ---
|
||||||
|
|||||||
Reference in New Issue
Block a user