Rename __ID to __ID__

This commit is contained in:
Oliver 2025-12-07 15:40:00 -07:00
parent d9bea36444
commit 523d9c1da2
9 changed files with 43 additions and 33 deletions

View file

@ -1,4 +1,4 @@
import { __ID } from "../consts.mjs";
import { __ID__ } from "../consts.mjs";
import { Logger } from "../utils/Logger.mjs";
const key = `startSidebarExpanded`;
@ -7,7 +7,7 @@ export function startSidebarExpanded() {
// #region Registration
Logger.log(`Registering setting: ${key}`);
game.settings.register(__ID, key, {
game.settings.register(__ID__, key, {
name: `OFT.setting.${key}.name`,
hint: `OFT.setting.${key}.hint`,
scope: `user`,
@ -20,7 +20,7 @@ export function startSidebarExpanded() {
// #region Implementation
Hooks.once(`renderSidebar`, (app) => {
if (game.settings.get(__ID, key) && !game.ready) {
if (game.settings.get(__ID__, key) && !game.ready) {
Logger.debug(`setting:${key} | Expanding sidebar`);
app.toggleExpanded(true);
};