summaryrefslogtreecommitdiffstats
path: root/site/main.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'site/main.mjs')
-rw-r--r--site/main.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/main.mjs b/site/main.mjs
index f2012ab..27da04f 100644
--- a/site/main.mjs
+++ b/site/main.mjs
@@ -107,7 +107,7 @@ function renderRobo(ctx, x, y) {
ctx.fill();
}
-function renderArena(robos, delta=0.0) {
+function renderArena(robos, delta=0) {
// interpolation factor for smoother movement independent of tick
// rate, but never tween more than 1 tick.
const timeScale = Math.min(delta / MS_PER_TICK, 1.0);