[O] Limit Range

This commit is contained in:
2025-02-14 18:54:01 -05:00
parent aaee0f56f8
commit fd0a062d7b
+2 -1
View File
@@ -48,7 +48,8 @@
// Randomize the dir and position
state = 1
dir = dirs[Math.floor(Math.random() * dirs.length)]
pos = Math.random()
// Pos between 0.05 and 0.95
pos = Math.random() * 0.9 + 0.05
await divStyles()
}