Throttle silly animals to one change per minute

This commit is contained in:
Cohee 2023-11-12 13:26:38 +02:00
parent 7afe9e6481
commit adc533070d
1 changed files with 1 additions and 1 deletions

View File

@ -1014,7 +1014,7 @@ function getBackBlock() {
function getEmptyBlock() {
const icons = ['fa-dragon', 'fa-otter', 'fa-kiwi-bird', 'fa-crow', 'fa-frog'];
const texts = ['Here be dragons', 'Otterly empty', 'Kiwibunga', 'Pump-a-Rum', 'Croak it'];
const roll = Math.floor(Math.random() * icons.length);
const roll = new Date().getMinutes() % icons.length;
const emptyBlock = `
<div class="empty_block">
<i class="fa-solid ${icons[roll]} fa-4x"></i>