Comment out unused code in server.js

This commit is contained in:
2025-05-28 03:17:43 +02:00
parent 119cd35137
commit 01a7ccbe0e

View File

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