game: numbers for cls

This commit is contained in:
He4eT 2025-06-23 17:12:14 +02:00
commit fd39590284

View file

@ -482,7 +482,7 @@ let effects = []
const effectRenderers = { const effectRenderers = {
flash: ({ frames }) => { flash: ({ frames }) => {
const color = frames.shift() const color = parseInt(frames.shift())
cls(color) cls(color)
}, },
laser: ({ from, to, frames }) => { laser: ({ from, to, frames }) => {