Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinJMann committed Jan 23, 2025
1 parent 2fca426 commit 51e3d61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/client/items/ItemBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export class ItemBase {
protected worldOnFrame(deltaTime: number) { // This function is called every frame for world items
if (!this.addedToWorldScene) {
this.scene.add(this.object);
this.object.rotation.z = Math.PI / 2;
this.addedToWorldScene = true;
}
this.object.position.copy(this.worldPosition);
Expand Down
1 change: 1 addition & 0 deletions src/client/items/Pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export class Pipe extends ItemBase {
this.inventoryMenuObject.scale.set(0.5, 0.5, 0.5);

if (this.itemType === ItemType.WorldItem) {
this.object.rotation.z = Math.PI / 2;
this.object.scale.set(0.45, 0.45, 0.45);
}

Expand Down

0 comments on commit 51e3d61

Please sign in to comment.