Skip to content

Commit

Permalink
Fix image path in script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoxK committed Feb 16, 2024
1 parent 9129e3b commit 82e007a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let bullet_wave = false;
let explosion = false;

const destroyed_slug = new Image();
destroyed_slug.src = "images/sprites/metal_slug/destroyed.png";
destroyed_slug.src = "/images/sprites/metal_slug/destroyed.png";

function animation() {
context.clearRect(0, 0, width, height);
Expand Down

0 comments on commit 82e007a

Please sign in to comment.