From 82e007aa22f330019dedeb6ee81038ff7d49c549 Mon Sep 17 00:00:00 2001 From: DiegoxK Date: Thu, 15 Feb 2024 21:14:32 -0500 Subject: [PATCH] Fix image path in script.js --- scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/script.js b/scripts/script.js index 67295e5..aa8493f 100644 --- a/scripts/script.js +++ b/scripts/script.js @@ -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);