Skip to content

Commit

Permalink
Fix position because of changed objact adding
Browse files Browse the repository at this point in the history
  • Loading branch information
r4pt0s authored Oct 10, 2024
1 parent 73e7f8b commit 1d2f440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gameObjects/map_campus_house_1/computer.gameObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const computer = (k, map, spawnpoints) => {
k.sprite('computer', { frame: 4 }),
k.area(),
k.pos(
(tableWidth + diningRoomTable.pos.x - 20) * scaleFactor,
(tableHeight + diningRoomTable.pos.y - 20) * scaleFactor
(tableWidth + diningRoomTable.pos.x - 20),
(tableHeight + diningRoomTable.pos.y - 20)
),
k.body({ isStatic: true }),
k.scale(scaleFactor - 0.7),
Expand Down

0 comments on commit 1d2f440

Please sign in to comment.