Skip to content

Commit

Permalink
fix glaring bug i apparently missed
Browse files Browse the repository at this point in the history
this is not my day 😭
  • Loading branch information
Spappz committed Jul 24, 2024
1 parent 322770b commit ded9d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/filter-bestiary.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class PageFilterBestiary extends PageFilter {
}
cr._flanguages = cr.languages == null ? [] : cr.languages.languages || [];
cr._flanguages = cr._flanguages.map(l => l.replace(/\s\(.+/, "")).filter(l => !l.includes(" ")).map(l => l.toTitleCase());
cr._fPerception = (cr.perception && cr.perception.std) || cr.initiative.perception.std;
cr._fPerception = cr.perception && cr.perception.std ? cr.perception.std : cr.initiative && cr.initiative.perception.std ? cr.initiative.std : 0;
cr._fskills = new Set();
if (cr.skills) {
Object.keys(cr.skills).forEach((k) => {
Expand Down

0 comments on commit ded9d95

Please sign in to comment.