Skip to content

Commit 0ef0644

Browse files
committed
fix typo
1 parent 844eaa5 commit 0ef0644

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scenes/game/game.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)