Skip to content

Commit a6a3e14

Browse files
committed
Reset cameraFollow
1 parent 71c0d97 commit a6a3e14

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/itemdrop.zig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,11 @@ pub const ItemDisplayManager = struct { // MARK: ItemDisplayManager
553553
var bobIntensity: f32 = 0;
554554

555555
pub fn update(deltaTime: f64) void {
556-
if (!settings.bobbing) return;
556+
if (!settings.bobbing) {
557+
cameraFollow = @splat(0);
558+
return;
559+
}
560+
557561
if (deltaTime == 0) return;
558562
const dt: f32 = @floatCast(deltaTime);
559563

0 commit comments

Comments
 (0)