Skip to content

Commit

Permalink
raidboss: fix comment from #5357 (#5359)
Browse files Browse the repository at this point in the history
  • Loading branch information
quisquous authored Apr 23, 2023
1 parent f7d621d commit 986218f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/raidboss/raidboss_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1607,9 +1607,10 @@ const processPerZoneTimelineConfig = (options: RaidbossOptions, savedConfig: Sav
};

const processTriggerSetConfig = (options: RaidbossOptions, savedConfig: SavedConfigEntry) => {
// Note: this function is just for setting TriggerSetConfig overrides.
// Note: this function is just for providing the raw values for TriggerSetConfig.
// popuptext handles the loading of triggersets at runtime (maybe this should be merged?)
// and so it has to do the work of setting defaults (if overrides are not set).
// and so it has to do the work of using this info to set defaults, apply overrides, and
// run setter functions via `processOptions`.
const optionName = 'TriggerSetConfig';
const outputTriggerSetConfig = options[optionName] ??= {};
if (typeof savedConfig !== 'object' || Array.isArray(savedConfig))
Expand Down

0 comments on commit 986218f

Please sign in to comment.