From 7049e94f33b92e50ead5d794b4fd19c4a0f8110c Mon Sep 17 00:00:00 2001 From: mjeffw Date: Sun, 15 Dec 2024 12:42:08 -0500 Subject: [PATCH] more appearance fixes --- module/actor/actor-sheet.js | 5 +++-- templates/actor/sections/equipment.hbs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/module/actor/actor-sheet.js b/module/actor/actor-sheet.js index 1fa8f938..b1ce8c22 100755 --- a/module/actor/actor-sheet.js +++ b/module/actor/actor-sheet.js @@ -1842,8 +1842,9 @@ export class GurpsActorTabSheet extends GurpsActorSheet { /** @override */ get template() { - if (!game.user.isGM && this.actor.limited) return 'systems/gurps/templates/actor/actor-sheet-gcs-limited.hbs' - return 'systems/gurps/templates/actor/actor-tab-sheet.hbs' + return !game.user.isGM && this.actor.limited + ? 'systems/gurps/templates/actor/actor-sheet-gcs-limited.hbs' + : 'systems/gurps/templates/actor/actor-tab-sheet.hbs' } } diff --git a/templates/actor/sections/equipment.hbs b/templates/actor/sections/equipment.hbs index 9820829a..6cffaf13 100644 --- a/templates/actor/sections/equipment.hbs +++ b/templates/actor/sections/equipment.hbs @@ -180,7 +180,7 @@
- {{#if (or (gt maxuses 0) (ne uses 0))}} + {{#if (and (ne maxuses 0) (ne maxuses '0'))}} {{#if (isNum uses)}} {{#if (lt uses 1)}}