auto-git:
[change] node/server/server.js
This commit is contained in:
@@ -57,7 +57,7 @@ function pushSpiritToAllClients() {
|
|||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
currentSpiritIndex = Math.floor(Math.random() * spirits.length);
|
currentSpiritIndex = Math.floor(Math.random() * spirits.length);
|
||||||
pushSpiritToAllClients();
|
pushSpiritToAllClients();
|
||||||
}, 30000);
|
}, 20000);
|
||||||
|
|
||||||
// Beim Start: Ersten Spirit pushen
|
// Beim Start: Ersten Spirit pushen
|
||||||
setTimeout(pushSpiritToAllClients, 1500);
|
setTimeout(pushSpiritToAllClients, 1500);
|
||||||
|
|||||||
Reference in New Issue
Block a user