added ns in CONFIG.l5r5e.systemName

This commit is contained in:
Vlyan
2023-01-08 10:32:35 +01:00
parent 5fbb34d882
commit 1ec9e65ca5
15 changed files with 61 additions and 62 deletions

View File

@@ -84,7 +84,7 @@ export class GmMonitor extends FormApplication {
*/
_initialize() {
let actors;
const ids = game.settings.get("l5r5e", "gm-monitor-actors");
const ids = game.settings.get(CONFIG.l5r5e.systemName, "gm-monitor-actors");
if (ids.length > 0) {
// get actors with stored ids
@@ -218,7 +218,7 @@ export class GmMonitor extends FormApplication {
*/
async _saveActorsIds() {
return game.settings.set(
"l5r5e",
CONFIG.l5r5e.systemName,
"gm-monitor-actors",
this.object.actors.map((e) => e.id)
);