Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunkLightTuna committed Apr 15, 2024
1 parent bcd2157 commit 1a4654a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/combat.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,8 @@ function get_health(hp, combatHealthSetting, actorType) {

export function register_combat_settings_toggle() {
libWrapper.register('oronder', 'CombatTrackerConfig.prototype._updateObject', async function (wrapped, ...args) {
Logger.info(this)
Logger.info(this.form.elements.oronder_combat_tracker_toggle.checked)
Logger.info(game.settings.get(MODULE_ID, COMBAT_ENABLED))
await game.settings.set(MODULE_ID, COMBAT_ENABLED, this.form.elements.oronder_combat_tracker_toggle.checked)
set_combat_hooks()
Logger.info(game.settings.get(MODULE_ID, COMBAT_ENABLED))
return wrapped(...args)
}, 'WRAPPER')

Expand Down

0 comments on commit 1a4654a

Please sign in to comment.