Skip to content

Commit

Permalink
Blank page bug fix test #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Hope41 authored Oct 22, 2023
1 parent 4608118 commit 9a9e856
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@
requestAnimationFrame(update)
}

const cvs = document.createElement('canvas')
const ctx = cvs.getContext('2d')

let time = 0
Expand Down Expand Up @@ -299,7 +298,6 @@

const map = new Map(1000, 1000)
const hero = new Player(1, 1)
document.body.appendChild(cvs)
map.generate()

addEventListener('resize', resize)
Expand Down

0 comments on commit 9a9e856

Please sign in to comment.