Change timer interval for new spirits to 30 seconds
This commit is contained in:
@@ -53,7 +53,7 @@ function pushSpiritToAllClients() {
|
||||
console.log(`Spirit "${spirit.Name}" wurde an alle Clients gepusht.`);
|
||||
}
|
||||
|
||||
// --- Timer: Alle 20 Sekunden neues Spirit ---
|
||||
// --- Timer: Alle 30 Sekunden neues Spirit ---
|
||||
setInterval(() => {
|
||||
currentSpiritIndex = Math.floor(Math.random() * spirits.length);
|
||||
pushSpiritToAllClients();
|
||||
|
||||
Reference in New Issue
Block a user