Skip to content

Commit

Permalink
more appearance fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeffw committed Dec 15, 2024
1 parent 94bd0c9 commit 7049e94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions module/actor/actor-sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}

Expand Down
2 changes: 1 addition & 1 deletion templates/actor/sections/equipment.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
</div>

<div class='uses flex-center' data-key='system.equipment.{{../container}}.{{@key}}'>
{{#if (or (gt maxuses 0) (ne uses 0))}}
{{#if (and (ne maxuses 0) (ne maxuses '0'))}}
{{#if (isNum uses)}}
{{#if (lt uses 1)}}
<i class='fa-solid fa-circle-minus equipmentbutton disabled'></i>
Expand Down

0 comments on commit 7049e94

Please sign in to comment.