Skip to content

Commit 00339dc

Browse files
Fix physics sys
1 parent e4a91d5 commit 00339dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/player.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl Player {
114114
self.pos_y -= self.velocity;
115115
}
116116

117-
if self.pos_y < 0. && !gonna_boom {
117+
if self.pos_y < 0. && !gonna_boom && !self.going_boom {
118118
self.pos_y = 0.;
119119
}
120120
}

0 commit comments

Comments
 (0)