Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
fix: force 1x when downed
Browse files Browse the repository at this point in the history
  • Loading branch information
leia-uwu committed Sep 27, 2024
1 parent 1f5e921 commit b2b771e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/game/objects/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ export class Player extends BaseGameObject {
if (this.insideZoomRegion) {
finalZoom = zoomRegionZoom;
}
if (insideSmoke) {
if (insideSmoke || this.downed) {
finalZoom = lowestZoom;
}
this.zoom = finalZoom;
Expand Down

0 comments on commit b2b771e

Please sign in to comment.