File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export const game = {
5151 . forEach ( obj => {
5252 let det = { x : 0 , y : 0 , w : obj . width , h : obj . height }
5353 if ( obj . properties . detection ) det = obj . properties . detection
54- const computed = this . multupleComputePosition (
54+ const computed = this . multipleComputePosition (
5555 obj . x + det . x ,
5656 obj . y + det . y ,
5757 det . w ,
@@ -99,7 +99,7 @@ export const game = {
9999 Vigilance . ctxSight . clearRect ( 0 , 0 , 512 , 512 )
100100 Vigilance . getActiveVigilance ( ) . forEach ( vg => { this . generateSight ( vg ) } )
101101 } ,
102- multupleComputePosition ( x , y , w , h ) {
102+ multipleComputePosition ( x , y , w , h ) {
103103 const computed = new Set ( )
104104 for ( let xd = x ; xd < x + w ; xd += 16 ) {
105105 for ( let yd = y ; yd < y + h ; yd += 16 ) {
You can’t perform that action at this time.
0 commit comments