forked from public/foundryvtt-reve-de-dragon
Fenêtres Roll V2
Maintenant disponibles pour: - méditation - tâches - soins
This commit is contained in:
@@ -50,7 +50,7 @@ export class OptionsAvancees extends FormApplication {
|
||||
.map(it => {
|
||||
it = foundry.utils.duplicate(it)
|
||||
it.id = OptionsAvancees._getId(it.name)
|
||||
it.active = OptionsAvancees.isSet(it.name)
|
||||
it.active = OptionsAvancees.isUsing(it.name)
|
||||
return it
|
||||
})
|
||||
formData.regles = regles
|
||||
@@ -63,10 +63,6 @@ export class OptionsAvancees extends FormApplication {
|
||||
}
|
||||
|
||||
static isUsing(name) {
|
||||
return OptionsAvancees.isSet(name)
|
||||
}
|
||||
|
||||
static isSet(name) {
|
||||
return game.settings.get(SYSTEM_RDD, OptionsAvancees._getId(name))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user