From 4cc368199a5777ce01ccb6377f55b1a2daa2adc6 Mon Sep 17 00:00:00 2001 From: Markus Wiegand Date: Sun, 14 Jan 2024 00:58:08 +0100 Subject: [PATCH] change condition --- view/templates/item/item_armor.gohtml | 2 +- view/templates/item/item_tacticalrig.gohtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/view/templates/item/item_armor.gohtml b/view/templates/item/item_armor.gohtml index f5c8a70..2ba93f9 100644 --- a/view/templates/item/item_armor.gohtml +++ b/view/templates/item/item_armor.gohtml @@ -60,7 +60,7 @@ {{ template "penalties" . }} - {{ if gt .Entity.TotalDurability 0.0 }} + {{ if .Entity.Components }}
diff --git a/view/templates/item/item_tacticalrig.gohtml b/view/templates/item/item_tacticalrig.gohtml index 0a48129..f06647b 100644 --- a/view/templates/item/item_tacticalrig.gohtml +++ b/view/templates/item/item_tacticalrig.gohtml @@ -14,7 +14,7 @@ {{ template "penalties" . }} - {{ if gt .Entity.TotalDurability 0.0 }} + {{ if .Entity.ArmorComponents }}