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