Rework skill/skill categ links

This commit is contained in:
2024-08-03 16:41:04 +02:00
parent 1f2558b680
commit cba4394a37
13 changed files with 231 additions and 127 deletions

View File

@ -171,7 +171,7 @@ export default class RMSSPlayerSheet extends ActorSheet {
for (let s of skillcat) {
s.skills = [];
for (let sk of playerskill) {
if (sk.system.category === s._id) {
if (sk.system.category.toLowerCase() === s.name.toLowerCase()) {
s.skills.push(sk);
}
}