summaryrefslogtreecommitdiff
path: root/src/entities/hp_bar.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/hp_bar.js')
-rw-r--r--src/entities/hp_bar.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/hp_bar.js b/src/entities/hp_bar.js
index d6e68bb..a5e5f50 100644
--- a/src/entities/hp_bar.js
+++ b/src/entities/hp_bar.js
@@ -14,6 +14,7 @@ export class HPBar extends Entity {
pixelated: true,
})
+ this.span.style.zIndex = 1
this.lasthp = enemy.hp
}