mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-25 16:16:50 +00:00
Update vite
This commit is contained in:
@@ -207,7 +207,7 @@ const Decorators: {
|
||||
},
|
||||
count_extra: (config, pos, ctx) => {
|
||||
let count = config?.count ?? 1
|
||||
if (ctx.nextFloat() < config.extra_chance ?? 0){
|
||||
if (ctx.nextFloat() < (config.extra_chance ?? 0)){
|
||||
count += config.extra_count ?? 0
|
||||
}
|
||||
return new Array(count).fill(pos)
|
||||
|
||||
Reference in New Issue
Block a user