mirror of
https://github.com/He4eT/DotDashPit.git
synced 2026-05-04 17:37:23 +00:00
game: numbers for cls
This commit is contained in:
parent
7505498238
commit
fd39590284
1 changed files with 1 additions and 1 deletions
2
game.js
2
game.js
|
|
@ -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 }) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue