Skip to content

Commit aa5ca17

Browse files
Workaround for setLevel bugs while in possession
1 parent d41a052 commit aa5ca17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Native/Camera.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ export class CameraEntity extends Entity {
5757

5858
if (isMaxLevel) this.cameraData.score = levelScore;
5959

60+
if (this.getClient()?.inputs.isPossessing) return; // TODO rework possession logic
61+
6062
if (TankBody.isTank(player)) {
6163
const scaleFactor = Math.pow(1.01, level - previousLevel);
6264
player.scale(scaleFactor);

0 commit comments

Comments
 (0)