try to prevent future bad decisions

This commit is contained in:
Neale Pickett 2023-09-28 12:59:51 -06:00
parent eb786ba184
commit 6ff379e0f4
1 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,11 @@ const MaxScoreWidth = 90
/**
* Returns a promise that resolves after timeout.
*
*
* This uses setTimeout instead of some other fancy thing like
* requestAnimationFrame, because who actually cares about scoreboard update
* framerate?
*
* @param {Number} timeout How long to sleep (milliseconds)
* @returns {Promise}
*/