Skip to content

Commit

Permalink
[#968] Split custom senses on semi-colon (#2471)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoppyhob committed Oct 13, 2023
1 parent 1b9a8b5 commit 9b285e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/applications/actor/base-sheet.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export default class ActorSheet5e extends ActorSheet {
if ( v === 0 ) continue;
tags[k] = `${game.i18n.localize(label)} ${v} ${senses.units}`;
}
if ( senses.special ) tags.special = senses.special;
if ( senses.special ) senses.special.split(";").forEach((c, i) => tags[`custom${i+1}`] = c.trim());
return tags;
}

Expand Down

0 comments on commit 9b285e2

Please sign in to comment.