Restructure entry point
This commit is contained in:
parent
145fd4d4a9
commit
8732f0cd69
1 changed files with 4 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
||||||
import { risk } from './risk';
|
import { risk } from './risk';
|
||||||
|
|
||||||
|
Hooks.once('init', () => {
|
||||||
|
registerRiskModifier();
|
||||||
|
});
|
||||||
|
|
||||||
function registerRiskModifier(): void {
|
function registerRiskModifier(): void {
|
||||||
// TODO: Make it possible to extend MODIFIERS in foundry-vtt-types
|
// TODO: Make it possible to extend MODIFIERS in foundry-vtt-types
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
Die.MODIFIERS.ri = risk;
|
Die.MODIFIERS.ri = risk;
|
||||||
}
|
}
|
||||||
|
|
||||||
Hooks.once('init', () => {
|
|
||||||
registerRiskModifier();
|
|
||||||
});
|
|
||||||
|
|
Reference in a new issue