From b5ba169ce4777ce64bac34be85bcb8d2c6f3640d Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Sat, 3 Feb 2024 14:13:23 -0600 Subject: [PATCH] make hp bars always show --- site/src/components/PlayerHP.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/components/PlayerHP.vue b/site/src/components/PlayerHP.vue index 03bd291..d47e305 100644 --- a/site/src/components/PlayerHP.vue +++ b/site/src/components/PlayerHP.vue @@ -1,5 +1,5 @@ @@ -13,5 +13,5 @@ export interface Props { const props = defineProps(); -const text = computed(() => '⚡'.repeat(props.hp)); +const text = computed(() => '⚡'.repeat(props.hp) || ' '); \ No newline at end of file