Merge branch 'dev' into dev_skillslist
# Conflicts: # CHANGELOG.md # system/lang/en-en.json # system/lang/fr-fr.json # system/scripts/actor.js # system/scripts/actors/base-character-sheet.js # system/scripts/combat.js # system/scripts/config.js # system/scripts/dice/dice-picker-dialog.js # system/scripts/dice/roll-n-keep-dialog.js # system/scripts/gm/gm-monitor.js # system/scripts/gm/gm-toolbox.js # system/scripts/hooks.js # system/scripts/items/technique-sheet.js # system/scripts/main-l5r5e.js # system/scripts/migration.js # system/scripts/preloadTemplates.js # system/scripts/settings.js # system/scripts/socket-handler.js # system/styles/l5r5e.css # system/system.json # system/templates/actors/character-sheet.html
This commit is contained in:
@@ -146,7 +146,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(CONFIG.l5r5e.systemName, "gm-monitor-actors").find((e) => e === this.id)) {
|
||||
if (game.settings.get(CONFIG.l5r5e.namespace, "gm-monitor-actors").some((uuid) => uuid === this.uuid)) {
|
||||
game.l5r5e.HelpersL5r5e.refreshLocalAndSocket("l5r5e-gm-monitor");
|
||||
}
|
||||
});
|
||||
@@ -384,9 +384,9 @@ export class ActorL5r5e extends Actor {
|
||||
}
|
||||
|
||||
const cfg = {
|
||||
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"),
|
||||
character: game.settings.get(CONFIG.l5r5e.namespace, "initiative-prepared-character"),
|
||||
adversary: game.settings.get(CONFIG.l5r5e.namespace, "initiative-prepared-adversary"),
|
||||
minion: game.settings.get(CONFIG.l5r5e.namespace, "initiative-prepared-minion"),
|
||||
};
|
||||
|
||||
// Prepared is a boolean or if null we get the info in the actor
|
||||
|
||||
Reference in New Issue
Block a user