Skip to content

Commit

Permalink
remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcomac committed Apr 19, 2024
1 parent fd5743c commit 995bb00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
6 changes: 3 additions & 3 deletions scripts/system-manager.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { oseActionHandler } from './action-handler.js'
import { oseRollHandler as Core } from './roll-handler.js'
import { DEFAULTS } from './defaults.js'
import { MODULE } from './constants.js'
import { MODULE, REQUIRED_CORE_MODULE_VERSION } from './constants.js'

export let oseSystemManager = null

Expand Down Expand Up @@ -53,8 +53,8 @@ Hooks.once('tokenActionHudCoreApiReady', async (coreModule) => {

const module = game.modules.get(MODULE.ID);
module.api = {
requiredCoreModuleVersion: '1.5',
requiredCoreModuleVersion: REQUIRED_CORE_MODULE_VERSION,
SystemManager: oseSystemManager
}
//Hooks.call('tokenActionHudSystemReady', module)
Hooks.call('tokenActionHudSystemReady', module)
})
11 changes: 0 additions & 11 deletions scripts/token-action-hud-ose.js

This file was deleted.

0 comments on commit 995bb00

Please sign in to comment.