Skip to content

Commit c657d14

Browse files
bors[bot]zicklag
andauthored
Merge #499
499: Fix Invisible Sword When Dropped While Swinging r=zicklag a=zicklag Co-authored-by: Zicklag <[email protected]>
2 parents adb3479 + c96a4c2 commit c657d14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/map/elements/sword.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ fn update_in_game(
243243
body.is_deactivated = false;
244244

245245
// Put sword in rest position
246+
sprite.index = 0;
246247
sprite.start = 0;
247248
sprite.end = 0;
248249
body.velocity = player_body.velocity;

0 commit comments

Comments
 (0)