TheMillsFabula/scripts
trotFunky 9bc73100f3 Borders: Move main call in init hook
The main function is called at script invocation, which is nice and early
but everything we do is done in hooks.
This makes it not really useful, and harder to properly disable the module
with the settings.

So, register our `init` hook at script invocation and call the main function
from within.
This makes handling the disabling via the setting trivial, and ensures that
*everything* is properly disabled.

However, the `socketlib.ready` hook fires earlier than the `init` one, so
register the socket at invocation as well, but only register the remote
methods in the main function.
2025-06-02 00:00:42 +01:00
..
mills_fabula.mjs Initial commit - v0.1.0 2025-05-12 22:55:13 +01:00
token_combat_border.mjs Borders: Move main call in init hook 2025-06-02 00:00:42 +01:00
token_ui_adjust.mjs Implement Token UI adjustments 2025-06-01 18:37:22 +01:00