Restructure entry point

This commit is contained in:
Johannes Loher 2021-02-07 19:43:44 +01:00
parent 145fd4d4a9
commit 8732f0cd69

View file

@ -1,12 +1,12 @@
import { risk } from './risk';
Hooks.once('init', () => {
registerRiskModifier();
});
function registerRiskModifier(): void {
// TODO: Make it possible to extend MODIFIERS in foundry-vtt-types
// eslint-disable-next-line
// @ts-ignore
Die.MODIFIERS.ri = risk;
}
Hooks.once('init', () => {
registerRiskModifier();
});