added ns in CONFIG.l5r5e.systemName
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user