added ns in CONFIG.l5r5e.systemName
This commit is contained in:
@@ -120,7 +120,7 @@ export class ActorL5r5e extends Actor {
|
||||
// Now using updateDocuments
|
||||
return Actor.updateDocuments([docData], context).then(() => {
|
||||
// Notify the "Gm Monitor" if this actor is watched
|
||||
if (game.settings.get("l5r5e", "gm-monitor-actors").find((e) => e === this.id)) {
|
||||
if (game.settings.get(CONFIG.l5r5e.systemName, "gm-monitor-actors").find((e) => e === this.id)) {
|
||||
game.l5r5e.HelpersL5r5e.refreshLocalAndSocket("l5r5e-gm-monitor");
|
||||
}
|
||||
});
|
||||
@@ -330,9 +330,9 @@ export class ActorL5r5e extends Actor {
|
||||
}
|
||||
|
||||
const cfg = {
|
||||
character: game.settings.get("l5r5e", "initiative-prepared-character"),
|
||||
adversary: game.settings.get("l5r5e", "initiative-prepared-adversary"),
|
||||
minion: game.settings.get("l5r5e", "initiative-prepared-minion"),
|
||||
character: game.settings.get(CONFIG.l5r5e.systemName, "initiative-prepared-character"),
|
||||
adversary: game.settings.get(CONFIG.l5r5e.systemName, "initiative-prepared-adversary"),
|
||||
minion: game.settings.get(CONFIG.l5r5e.systemName, "initiative-prepared-minion"),
|
||||
};
|
||||
|
||||
// Prepared is a boolean or if null we get the info in the actor
|
||||
|
||||
Reference in New Issue
Block a user